Forums/Questions & Answers/Common Drupal Questions

Answered

Images aren't appearing in my Drupal site. Help!

Jason S
asked this on October 03, 2011 18:05

Common question: I've installed my theme but my images are not appearing on my Drupal website. How can I check my images to make sure that everything is working and how can I see the images on my site?

 

Comments

User photo
JP DeWitt

The users might also need to recompile php with jpeg support.  Check your configuration (  'php -i | head' should give it to you) and make sure you see something like '--with-jpeg-dir=/usr/lib' or wherever the libjpeg.so file is located.

October 14, 2011 19:19
User photo
Jason S
ThemeSnap.com

Great addition JP. Thanks for adding it!

October 21, 2011 18:17
User photo
Jason S
ThemeSnap.com
Check Answer

Additional information for images not appearing on your Drupal website:

This may be because of your server configurations. Can you please check the following:

  1. Make sure the .htaccess file got uploaded
  2. Check your php memory limit, found on: /#overlay=admin/reports/status
  3. Also check the above status page for any other errors. Everything should be in green or blue color backgrounds.
  4. You may need to reinstall the theme from scratch. Make sure all files have been uploaded and that your FTP hasn't stopped or omitted some files from being uploaded.
  5. Make sure the images on your front page are located within the source code:

-- To check this, please go to the front page (or another internal page where you are having the issues) and right click and view the page source. Then, locate the images not appearing and see if there is an image path in the source code. If there is, copy and paste the image path in your browser and see if the image appears in the browser. If it does not, then your image folders (sub-directories) do not have the correct file permissions. Most all image sub-directories should have permissions 755.

Last, please also make sure that your host is compatible with Drupal by visiting Drupal's requirements page (and view your version of Drupal, i.e. D6, D7): http://drupal.org/requirements

Please follow the steps above to check the issue in more detail. Most hosting companies have different configurations or lack in features, have permissions issues, or prevent certain required scripts being installed - like PDO for example -- a relatively common Drupal hosting issue (http://drupal.org/requirements/pdo).

November 30, 2011 11:30
User photo
Xiaoyanchengllc

Hello, I am having the same problem when I check the path, I found that there's no images located in the "styles" folder.  am I missing something here?

"pinboard-D7-v2.0.3\pinboard\sites\default\files\styles"

September 27, 2012 09:49
User photo
Jason S
ThemeSnap.com

Hi Xiaoyanchengllc,

Please submit a ticket here: http://support.themesnap.com/tickets/new

If you can include your website URL, Drupal login (admin), and perhaps even FTP information, then we can check your permissions for those folders. Sounds like your hosting configurations didn't allow permissions to be set for the theme installation for those sub-directories.

Thanks

September 27, 2012 10:08