Forum

Thread tagged as: Error

SVG image thumbnail

When I select a SVG from the assets tab to use as a image it displays incorrectly. It resolves itself after saving but if the SVG is large it can cover other fields.

I have uploaded a screenshot below:

svg issue

Damon Golding

Damon Golding 1 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you show me your diagnostics?

Is the SVG available to test with?

Hi,

Here is the SVG in the screenshot the same happens with all svg I use (all exported from Sketch).

Diagnostics from the admin page

Perch Runway: 2.8.6, PHP: 5.6.7, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 3c688b6bbc30d36af3ac34fdd4b7b5b787fe5555 $, with PDO
Server OS: Darwin, apache2handler
Installed apps: content (2.8.6), assets (2.8.6), categories (2.8.6), perch_forms (1.8.3)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_forms' );
PERCH_LOGINPATH: /login
PERCH_PATH: /Applications/MAMP/htdocs/mysite/login
PERCH_CORE: /Applications/MAMP/htdocs/mysite/login/core
PERCH_RESFILEPATH: /Applications/MAMP/htdocs/mysite/login/resources
Image manipulation: GD
PHP limits: Max upload 32M, Max POST 32M, Memory: 128M, Total max file upload: 32M
Resource folder writeable: Yes
HTTP_HOST: mysite
DOCUMENT_ROOT: /Applications/MAMP/htdocs/mysite
REQUEST_URI: /login/core/settings/diagnostics/
SCRIPT_NAME: /login/core/settings/diagnostics/index.php
Drew McLellan

Drew McLellan 2638 points
Perch Support

Could you look at getting that screenshot working? The SVG is behaving perfectly for me here.

Aaaa yes sorry about that. Should be working fine now.

I get the same results in both FireFox and Chrome.

Drew McLellan

Drew McLellan 2638 points
Perch Support

I'm getting an Error (410) on the screenshot image.

Fixed the link....again

This time it will work indefinitely

Sorry about that

Drew McLellan

Drew McLellan 2638 points
Perch Support

Oh, in a repeater! That makes it all a lot clearer.

I'll take a look at it.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Here's how it's looking for me:

SVG

Drew McLellan

Drew McLellan 2638 points
Perch Support

Are you using a repeater in a block?

How strange.

In the screenshot I am using a repeater in a block yes but I also get the same behaviour in just plain old repeaters

Drew McLellan

Drew McLellan 2638 points
Perch Support

Which browser are you using?

Chrome v42 on a Mac running 10.10.2

Drew McLellan

Drew McLellan 2638 points
Perch Support

I'm on Chrome v45 on 10.10.3. I wonder if it's a Chrome bug that's been fixed.