Jump to content

Image Mapping / Scenes Not Showing (Bug In Ps 1.5.3.1)


Recommended Posts

Hi,

 

There is a problem with image mapping / scenes.... they are not showing in Front Office. From what i found the problem is because the way the SCENES DIV is called and it's height and width is missing...

 

here's the code:

 

<div class="screen_scene" id="screen_scene_{$scene->id}" style="background:transparent url({$base_dir}img/scenes/{$scene->id}-scene_default.jpg); height:{$largeSceneImageType.height}px; width:{$largeSceneImageType.width}px; {if !$scene@first} display:none;{/if}">

 

here's the way it is shown in front office

 

<div id="screen_scene_1" class="screen_scene" style="background:transparent url(http://localhost/dx/img/scenes/1-scene_default.jpg); height:px; width:px; ">

 

You can see that the HEIGHT & WIDTH is missing. It works only if you set it manually in the scenes.tpl ...

 

BUT what's the correct argument for calling the corect scene height and width? We should replace

height:{$largeSceneImageType.height}px; width:{$largeSceneImageType.width}px;

with what???

 

thanks

Edited by perusi (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...