2

My content type has field type "Image" and using "Media selector" to upload images.

Images are uploaded properly but not previewed at the same time on node add/edit page. I can check that preview is generated with firebug.

If I go to library then again preview not displayed but after saving node it is displaying.

What could be the issue?

  • Which image style you are using to show preview image? Is that image style really exist or it may be deleted? – Rupesh Apr 2 '14 at 17:00
  • I made sure image style exists. Another thing I noticed was Image is not loaded even on page when first time page loads. If we come back to that page after some clicks, it is present there. – bPadaria Apr 2 '14 at 20:34
  • I get it resolved by removing a blank line before <?php tag with index.php – bPadaria May 22 '14 at 20:47
0

There should not be any blank line before opening or after closing php tags. The chances of having it with index.php, template.php,settings.php etc. files

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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