Image display issues

Hi everyone-

Recently, whenever I've tried uploading photos to my zenphoto galleries, I have had trouble getting them to display properly. I upload a photo, its thumbnail displays as a square broken image link, and clicking that thumbnail leads to another broken link where the photo should be displayed. If I click the photo, it does take me to the full sized image, which loads correctly. I would say that I think it's something to do with the photo dimensions/file size, but I've been uploading photos taken with the same camera for over 4 years now, and this has not been a problem until now. If anyone has any suggestions about what's going on, please do let me know what I might be able to do in order to fix this!

You can click this link to see what I mean

http://shootwithpersonality.com/gallery/blogphotos/june_13_blogs/IMGP5996.JPG.php

Thanks!

Comments

  • I emailed my webhost about this - their reply was: "We have gone through your issue and found that, there is issue with images path, please check the coding at /gallery/zp-core/i.php file and images extension should be ..jp not with JPG"

    Does this sound right? I wanted to check with people who are more knowledgeable about Zenphoto than I am, before I made this change. Also, would changing this cause all the urls of images I've already used in my blog, for instance, to change?
  • acrylian Administrator, Developer
    .jp?? That is no image suffix at all… I don't understand what they mean actually…

    The above link does not work anymore but besides that I don't see any issue on your site from a quick visit.

    Of course if you change URLs you have to change them everywhere you have used those links statically (how shall they know that they are not valid anymore).
  • Here's a link to where you can see the thumbnail issue, and if you click on one of the broken thumbnails, you'll see that the photo doesn't display:

    http://shootwithpersonality.com/gallery/blogphotos/june_13_blogs/

    Sometimes, if I significantly alter the photo dimensions and JPEG compression quality, the photos will display. That is why some of the thumbnails/images display on the link above. But I've never had to do this to images in the past. I've always just uploaded full resolution photos (usually 8-10MB each.)And many of those broken thumbnails/images on the link I gave HAVE been resized.
  • acrylian Administrator, Developer
    It is for sure exactly this:
    http://www.zenphoto.org/news/problems-with-albums-and-images#server-memory-issues
    And again dimensions NOT file size matters.
  • Unfortunately, I have finally gotten my host to look at the link above and have been informed:

    "your account is hosted on shared environment and there are some limitation on the server concern to resource usage, so its not possible to make changes in PHP setting according to the requirement mentioned at link :[http://www.zenphoto.org/news/problems-with-albums-and-images] , this may cause issues on the server. Your understanding will be highly appreciated."

    SO I basically have no recourse at this point?
  • Make your images smaller to start with, then. Or find a provider who is not an idiot. `[T]heir reply was: "We have gone through your issue and found that, there is issue with images path, please check the coding at /gallery/zp-core/i.php file and images extension should be ..jp not with JPG"` is complete garbage.
  • fretzl Administrator, Developer
    FYI: I grabbed one of your problematic (large) images and it displays just fine on my shared host.
  • sbillard - Oh TRUST ME, dealing with my host's tech support has been a bane of my existence, and I've had to deal with them way too many times over the years. I need a new web host for sure, but am a bit intimidated about finding the right one for my needs/price range and getting all the files migrated so that I none of my photo links are disturbed (so I don't have to go through all my blogs and replace all the photos with new urls,or direct links to albums being disturbed.) Clearly, I'm not EXTREMELY well-versed in any of this, I just have to muddle my way through and ask for help where I can.

    By the way, I am currently using 38,473.31MB of my 150,000MB allotted space on my host. Does that factor into this at all?

    fretzl - So it displayed as the 395x395 version instead of just at full size?
  • acrylian Administrator, Developer
    Migrating will be some work but if you take the domain with your that should not be that problem with the links.

    I don't know where you are but over here you get quite capable shared hosting for around 2-10 Euros. Still the only thing your host is correct is that shared hosting has naturally some limits. But even those differ from host to host.
  • fretzl Administrator, Developer
    So it displayed as the 395x395 version instead of just at full size?
    Yep.
  • acrylian - I am in the US! And my domain name is registered separately from my web host, since I've had the domain for over 10 years and my current host for only 4.

    In the meantime, any suggestions as to which of the photo dimensions listed here http://www.zenphoto.org/news/problems-with-albums-and-images#server-memory-issues would work best for me?

    fretzl - I really appreciate you checking that for me on your host.
  • acrylian Administrator, Developer
    Ok, I am not in the US :-) Then the migration should not be that complicated (both WP and ZP have means to export and import data) but you should plan some time for that nevertheless.

    Regarding sizes I would try one after another until it works out. Might differe from image to image, the more complex the more work to processs (a blank white one has less information to work with for example). 8 MP images like you have mostly are generally overload for a web site unless you provide fine data downloads for clients.
  • Thanks again for your help. Now that my site has suddenly been hacked, I've got to sort that out before I can begin trying new image dimensions for zenphoto uploads :/
  • I have the same issue but it is NOT about memory or other server limitations. I checked the chache directory and thumbnails and smaller versions of the images are correctly generated there. it is just that they don't show anywhere on the site or in the back end.
  • I did some more looking and found that the images are generated with the wrong permissions in the cache directory, namely "640". I manually changed them to 644 and they are now showing fine.

    The questions still is: why does this not happen automatically? I can't believe zenphoto's idea is for the users to change files' permissions manually after each upload.

    Thanks!
  • acrylian Administrator, Developer
    No, the user should not have to do this. This is actually a configuration issue of your server. Please see: http://www.zenphoto.org/news/permissions-for-zenphoto-files-and-folders
    Best contact your host pointing to that.
  • Also check your configuration file for the `$conf['CHMOD'] =` statement. If it says 0640 then change it to 0644. That this does not work means your web server is running under a "public" user and your site security cannot be as tight as would be recommended.
Sign In or Register to comment.