Marty Walker Posted October 17, 2016 Share Posted October 17, 2016 Hi all, This is my first time working with PW3 (3.0.37 to be specific) and I've run into a wee problem. Apologies if this has been discussed before but I haven't been keeping up with happenings in the new version. I've upgraded from a 2.7.2 install and I can't seem to get new image uploads (jpegs or PNGs) displaying in the admin. The images that existed before the upgrade appear fine but anything new displays a blank thumbnail. I can confirm that the image is being uploaded as it exists in the directory. Not sure what do... Server is running: PHP 5.4.45 and MySQL 5.5.52-cll. Link to comment Share on other sites More sharing options...
horst Posted October 17, 2016 Share Posted October 17, 2016 Hi @Marty Walker, this seems to be new. So, just a shot into the blue: can you inspect settings in regard of adminThumb ($config->adminThumbOptions) in your site/config.php, and compare this with settings from the wire/config.php. Your site/config.php may have old settings from PW 2.7 that overwrites newer settings introduced with PW 3.0 to become unusable. (Maybe something that results in a thumb with 0 px height or width. If this doesn't help, it would be useful to see the markup (HTML-code) of that thumbnail. Link to comment Share on other sites More sharing options...
Marty Walker Posted October 17, 2016 Author Share Posted October 17, 2016 Hi Horst, Thanks for the suggestion. My site/config.php doesn't hold any adminThumbOptions at all. Link to comment Share on other sites More sharing options...
horst Posted October 17, 2016 Share Posted October 17, 2016 and how does the rendered markup look like? Link to comment Share on other sites More sharing options...
fbg13 Posted October 17, 2016 Share Posted October 17, 2016 13 hours ago, Marty Walker said: the image is being uploaded as it exists in the directory In that directory is there a variation too or just the original image? If it just the original image then PW probably can't create the variation for some reason. I had this happen while importing some images from another site through multi-instance, in my case it was a problem with the directory ownership. You can check ownership with this command: ls -l /path/to/site/assets/files Result (web8 is the user, www-data is the apache group): You can then compare an old directory with a new one. Link to comment Share on other sites More sharing options...
Marty Walker Posted October 17, 2016 Author Share Posted October 17, 2016 10 hours ago, horst said: and how does the rendered markup look like? Strangely it looks like this: <img src="/site/assets/files/1/blume_web_ad_bmcc.jpg" alt="" style="display: none !important;"> ... which is odd considering this is my PHP: echo "<img src='".$page->advert_image->url."' alt=''>"; @fbg13 There's a variation in there too and the directory group and permissions are all fine. Link to comment Share on other sites More sharing options...
Marty Walker Posted October 18, 2016 Author Share Posted October 18, 2016 So this is the link to the image which displays fine in browser: http://blumeillustrated.com.au/site/assets/files/1/blume_web_ad_bmcc.jpg And this is what I get in Inspect. Link to comment Share on other sites More sharing options...
szabesz Posted October 18, 2016 Share Posted October 18, 2016 I'm just wild guessing here, but any chance of a misbehaving browser plugin? Link to comment Share on other sites More sharing options...
Marty Walker Posted October 18, 2016 Author Share Posted October 18, 2016 Here it is. Looks like dodgy images from the client which worked everywhere else (PS, ID, Affinity, Preview etc) except in PW. Thanks for the help everyone. Carry on. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now