core icon indicating copy to clipboard operation
core copied to clipboard

Can't see template screenshot when creating a new page

Open ghost opened this issue 14 years ago • 5 comments

The screenshot of the Template is not displayed when creating a new page (the moment that it is most useful). I get a javascript error when I select a template:

Chrome: Cannot set property 'src' of null FireFox: document.getElementById("templateImage") is null

I can see the screenshot when I edit the page properties, but that image is not resized... And since screenshots are usually 'screen size' you'll need to scroll down a lot when you want to save the page properties.

ghost avatar Nov 05 '12 08:11 ghost

sounds like the image is not able to resize. Can you export as a jpg from a different program and reupload. Don't use photoshop

jtesser avatar Nov 05 '12 11:11 jtesser

This issue is still present in dotCMS 2.3.2. I can reproduce it on the demo server:

I first add an image to the 'Menu Header' template: image

After clicking on save and creating a new HTML Page, the image doesn't show up if I select the 'Menu Header' template: image

If I save the page, and then go to Page Properties, I see the image: image

jorith88 avatar Jul 03 '13 14:07 jorith88

Please reopen the issue

ghost avatar Jul 25 '13 12:07 ghost

We don't thumbnail that currently. I will reopen but for now just upload a smaller image

jtesser avatar Jul 25 '13 12:07 jtesser

Fixed, tested on master 2.5

bryanboza avatar Aug 16 '13 14:08 bryanboza