Thumbnails not being shown in the CP
Posted: 16 February 2011 08:27 AM   [ Ignore ]
Wallflower
Rank
Total Posts:  6
Joined  2010-04-08

Hi,

I’m using v1.0.3 on EE 2.1.4 beta. tested in Chrome 9.0.597.102 and Firefox 3.6.13

In the CP I’m seeing a generic image (mydevsite/themes/cp_global_images/default.png) rather than the thumbnail of the image.

The image already existed in the file system and was selected using the existing file option.

I have relative paths set for the File Upload Directory of;

* Server Path to Upload Directory ../images/uploads/
&
* URL of Upload Directory /images/uploads/

The selected image(s) are being output properly on the front end of the site, and the fiel manager displays them correctly too.

Thanks in advance.

Adam

Profile
 
 
Posted: 16 February 2011 08:34 AM   [ Ignore ]   [ # 1 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

How about your system path? Below root? Any other non-default things you’ve done regarding paths?

Profile
 
 
Posted: 16 February 2011 08:37 AM   [ Ignore ]   [ # 2 ]
Wallflower
Rank
Total Posts:  6
Joined  2010-04-08

No system is currently in root. This is an upgrade from 1.6.8, I wanted to get it all going before I move system.

I’m removing index.php using the

#remove Index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

method.

Profile
 
 
Posted: 16 February 2011 08:41 AM   [ Ignore ]   [ # 3 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

I’m assuming this is a local dev environment? MAMP?

Profile
 
 
Posted: 16 February 2011 08:42 AM   [ Ignore ]   [ # 4 ]
Wallflower
Rank
Total Posts:  6
Joined  2010-04-08

Correct

Profile
 
 
Posted: 16 February 2011 08:48 AM   [ Ignore ]   [ # 5 ]
Wallflower
Rank
Total Posts:  6
Joined  2010-04-08

This is strange.

I have the local copy named the same as the production version but with a dev. rather than a www.

When I hard refresh the CP page where the thumbnails aren’t showing, the status bar changes from “Waiting for dev… to www… before it’s finished reloading. I’m wondering whether there is something cached from the production site?

Profile
 
 
Posted: 16 February 2011 08:57 AM   [ Ignore ]   [ # 6 ]
Wallflower
Rank
Total Posts:  6
Joined  2010-04-08

Scratch my last, it’s looking for all the smileys on the original server, I’m going to edit that out with new config settings.

Profile
 
 
Posted: 16 February 2011 07:29 PM   [ Ignore ]   [ # 7 ]
Wallflower
Rank
Total Posts:  6
Joined  2010-04-08

Rob,

I may have found the answer to this.

The _thumbs directory for the upload directory is empty, this may be because it was an upgrade from 1.6.8?

If I choose to upload a new file it shows fine in the CP.

As a side note the behavior is the same for the native EE File type as well. Won’t show any thumbnail for existing stuff, will if the file gets uploaded.

So don’t think this issue has anything to do with the Safecracker. Let’s mark this as resolved.

Thanks,

Adam

Profile
 
 
Posted: 16 February 2011 09:16 PM   [ Ignore ]   [ # 8 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

Yeah, I thought of this last night while dozing off. In EE2, that thumbnail file is generated upon upload. If you’ve imported these from 1.6, the thumbnail file won’t exist.

Profile
 
 
Posted: 16 February 2011 09:38 PM   [ Ignore ]   [ # 9 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

I posted a little tut here for generating thumbnails for pre-existing files: http://expressionengine.com/forums/viewreply/858253/

Profile
 
 
Posted: 16 February 2011 09:55 PM   [ Ignore ]   [ # 10 ]
Wallflower
Rank
Total Posts:  6
Joined  2010-04-08

Rob, I owe you a beer, that worked perfectly, one more thing crossed off the list.

Thank you.

Adam

Profile
 
 
Posted: 16 February 2011 09:57 PM   [ Ignore ]   [ # 11 ]
Teen Scream
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

I will be accepting all offers of beer (and/or whiskey) at EECI 2011.

Profile