Forum

Thread tagged as: Question, Problem, Error

Image Sitting Outside Container in Template

I've updated to the latest version of Perch and noticed a problem when selecting an image using the Asset Manager.

When I upload an image, I can select it fine but once I get the preview thumbnail within the admin page, it doesn't fit within the container.

It does this on all templates so I don't believe that it is a template issue.

Please see screengrab Image

Any Ideas?

Thanks for your help.

Curtiss Greveson

Curtiss Greveson 0 points

  • 5 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you show me your diagnostics report?

Drew McLellan said:

Can you show me your diagnostics report?

Thanks Drew,

Please see below...

Perch: 2.8.15, PHP: 5.3.3, MySQL: 5.1.73, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.15), assets (2.8.15), categories (2.8.15), perch_blog (5.0), perch_forms (1.7), perch_shop (1.1.2)
App runtimes: <?php include(PERCH_PATH.'/core/apps/content/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_forms/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_shop/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_blog/runtime.php'); ?>
PERCH_LOGINPATH: /admin
PERCH_PATH: /var/www/vhosts/henshaw.cnsdemo6.co.uk/httpdocs/admin
PERCH_CORE: /var/www/vhosts/henshaw.cnsdemo6.co.uk/httpdocs/admin/core
PERCH_RESFILEPATH: /var/www/vhosts/henshaw.cnsdemo6.co.uk/httpdocs/admin/resources
Image manipulation: GD
PHP limits: Max upload 128M, Max POST 8M, Memory: 128M, Total max file upload: 8M
Resource folder writeable: Yes
HTTP_HOST: henshaw.cnsdemo6.co.uk
DOCUMENT_ROOT: /var/www/vhosts/henshaw.cnsdemo6.co.uk/httpdocs
REQUEST_URI: /admin/core/settings/diagnostics/
SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
Drew McLellan

Drew McLellan 2638 points
Perch Support

It looks like you have image resizing. What format is the source image?

The source image is .jpg

I didn't have this problem before I update the 2.8.15 so unsure what to change

Drew McLellan

Drew McLellan 2638 points
Perch Support

Does the issue persist if you reload the page?

Yes it does, it happens on all pages of the site too and not in any particular area.

Drew McLellan

Drew McLellan 2638 points
Perch Support

I see the image badge doesn't have the dimensions listed. Is that the case for all your images?