4

When I upload an image it does an AJAX upload and then tries to show the thumbnail but the thumbnail style of that image is not available, so it shows up as a missing image. If I save and come back to the form, then it displays fine.

4
  • Please compare paths in both cases and check the difference? Commented Oct 17, 2011 at 17:51
  • The paths are identical
    – Ali Gangji
    Commented Oct 17, 2011 at 18:05
  • the image does not exist until the entity is saved
    – Ali Gangji
    Commented Oct 17, 2011 at 18:23
  • Have you tried sudo chmod -R 777 files/?
    – leymannx
    Commented Feb 6, 2015 at 15:34

1 Answer 1

1

make sure the "image style" of your image field exists. for example to make sure about our "Article" content type, we check the path below:

http://yoursite.com/admin/structure/types/manage/article/fields/field_image

find your "image style" name and then go the path below:

http://yoursite.com/admin/config/media/image-styles

check the image styles name and make sure "Article" image style is here. if it's not, you have to change image style of your content type.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.