Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

JPG has lines through it

Featured Replies

Hi guys!

 

I'm in the starting process of coding a new website and I've already run into a problem.

 

I have a background image which I've been working a bit on in Photoshop and now I've saved it and on my computer it looks fine. But as soon as I upload it it gets some strange lines through it. Especially noticable in the bottom of the picture.

 

You can see it here: post-8743-020921500 1279797629_thumb.jpg

 

I've tried to save it with different variations of quality without any success.

 

Hoping I can get some help.

 

 

EDIT: Seems this problem only persists in Firefox 4 B1 so i guess that is the problem :)

Edited by MadsK

Could you post a link to the original psd?

it shows lines for me - though feint - in latest firefox but when i view the jpeg in psd they aren't there ;)

It is more likely to be something in the coding rather than the image itself..

 

Can you send a link too the live site?

  • Author

Could you post a link to the original psd?

it shows lines for me - though feint - in latest firefox but when i view the jpeg in psd they aren't there ;)

 

Its the same for me. In photoshop and any other program i view the image there are no lines.

 

It is more likely to be something in the coding rather than the image itself..

 

Can you send a link too the live site?

 

http://www.swtorcommunity.com

 

Try to save in PNG.

 

I'll try that however the size is over 200kb where as the jpg is only 60-70kb!

Its the same for me. In photoshop and any other program i view the image there are no lines.http://www.swtorcommunity.comI'll try that however the size is over 200kb where as the jpg is only 60-70kb!

 

I know what you mean, but PNG has much higher quality :) (in most cases)

  • Author

I know what you mean, but PNG has much higher quality :) (in most cases)

 

 

Well I'm attaching the png file now

 

post-8743-012698400 1279821942_thumb.png

 

In the png version the lines are gone. However its over 300kbs so I won't use it on the page as the loading time would be significant.

 

EDIT:

 

This is seriously strange. I opened up the .png file in photoshop and used the Save for web feature and saved it to .jpg only to find the lines back on the image. However if i just used Save As and made it .jpg (same quality level) the lines are gone.

Edited by MadsK

Well I'm attaching the png file now

 

post-8743-012698400 1279821942_thumb.png

 

In the png version the lines are gone. However its over 300kbs so I won't use it on the page as the loading time would be significant.

 

EDIT:

 

This is seriously strange. I opened up the .png file in photoshop and used the Save for web feature and saved it to .jpg only to find the lines back on the image. However if i just used Save As and made it .jpg (same quality level) the lines are gone.

Can you not scale it, and then have a script so when you click it, it enlarges to fullsize?? Like a lightbox gallery?

  • Author

Can you not scale it, and then have a script so when you click it, it enlarges to fullsize?? Like a lightbox gallery?

 

Its a background image so that wouldn't work.

Its a background image so that wouldn't work.

Ohh. have you tried saving as gif?? after all, it is used on the web a lot of the time.

Ohh. have you tried saving as gif?? after all, it is used on the web a lot of the time.

Yes, but not for images with gradients and thousands of colours :) and png may be better quality but the filesize is prohibitive

  • 1 month later...

However if i just used Save As and made it .jpg (same quality level) the lines are gone.This is seriously strange. I opened up the .png file in photoshop and used the Save for web feature and saved it to .jpg only to find the lines back on the image.

i only use save for web and devices when doing nav bars etc. Just out of interest, do you use a preset? If not, then i suggest the png-8 128 Dithered. Thats always worked for me :) Give it a try, muck around with the presets and see what you can get, try some of the others, you may find one that does the job ;)

I wouldnt use png, especially png8 for that image. You are on the right track with jpg. Ash Scott you wouldnt use png for a large image without transparency. I'm not seeing any lines in safari, so sorry cant help here

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.