Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I have tried to upload a number of photos but after the upload is complete the thumbnails show as broken. I have tried clearing the cache but I looked into where the thumbnails should be created to and they're not their - the folder is even missing....
Any ideas???
Comments
Comment #1
Moloc CreditAttribution: Moloc commentedDo you use the private file system? See #1274464: Thumbnails are not created and displayed when using private file system
Are there any related log file entries in /admin/reports/dblog ?
Comment #2
sphankin CreditAttribution: sphankin commentedNope - using a public file system.
I have an error message... not sure what I need to do though...
Warning: unlink(C:\php\UploadTemp\php18D.tmp) [function.unlink]: Permission denied in plupload_handle_uploads() (line 343 of C:\Domains\website.org.uk\wwwroot\beta\sites\all\modules\plupload\plupload.module).
Thanks.
Comment #3
Moloc CreditAttribution: Moloc commentedApplying patch in #1121070: Warning: unlink(...) [function.unlink]: Permission denied in plupload_handle_uploads() should fix your issue. Does it?
Comment #4
sphankin CreditAttribution: sphankin commentedThe patch removes the error but the thumbs are still missing...
Comment #5
Moloc CreditAttribution: Moloc commentedUpload a new image
- Does the folder /sites/default/files contain your image? (This is the default location for uploading)
- Your gallery does not show the image?
-- Open a broken image-url in your browser (not just clicking on the image). What do you see?
Comment #6
sphankin CreditAttribution: sphankin commentedUploaded a new image...
- Folder /sites/default/files contains the original image
- Right click thumbnail and look at thumbnail URL - http://www.website.org.uk/beta/sites/default/files/styles/square_thumbna...
- Copy and paste into browser - no image
- Check for image via FTP - no images in folder - image does not exist
- Click on broken thumbnail - original image opens in lightbox
- Only error is ****Notice: Undefined property: stdClass::$media_gallery_image_info_where in template_preprocess_media_gallery_media_item_thumbnail() (line 145 of C:\Domains\website.org.uk\wwwroot\beta\sites\all\modules\media_gallery\media_gallery.theme.inc).****
Moloc, thanks for helping - its driving me mad!
Comment #7
Moloc CreditAttribution: Moloc commentedIf you are in the gallery view, the style of the thumbnail (on a default installation) should be media_gallery_thumbnail and not square_thumbnail. (Nevertheless, both styles should work.)
Your lightbox seems to work. Then the stlye media_gallery_large works.
- Do you get a white page with no content?
- Do you get a drupal rendered page? Is there a message?
- Do you get an error on the screen/log?
Does this issue have any similarities to issue #1231776: No images visible / thumbnails not generated? See screenshot, possible solutions,... .
You could try to disable, uninstall and install/enable the media_gallery module again (note: you will loose all media_galleries). Does this fix the problem?
Comment #8
sphankin CreditAttribution: sphankin commentedHi Moloc,
I looked at the similar issue and have followed the steps... the solution did not seem to work however - like onny, the thumbnail WORK when clean urls is disabled. As soon as you enable clean urls the thumbnails fail to be created. (The thumbnails that have already been created stay working).
Update - also like onny - the thumbnails that weren't working when I uploaded with clean urls start to work when clean urls is disabled... i can then enable clean urls and the thumbnails stay - so i've found a work around but it's not that practical!
Any more ideas now we know it is a clean url problem?
Thanks!
Comment #9
Moloc CreditAttribution: Moloc commentedAs you say, that this seem to be the same issue, i think we can close this one.
Further comments should be commented in #1231776: No images visible / thumbnails not generated.