Forums / Setup & design / Gallery line style problem

Gallery line style problem

Author Message

Noicokuna Niemoge

Sunday 18 January 2009 5:20:02 am

Hi there;

I try to make the images in gallery line display correctly. Now I see in source code the following code:

<div class="content-view-galleryline">
    <div class="class-image">
    <div class="attribute-image" style="width:105px ;height:100px">
        <p> (...) 

In the overrides, in gallery-line folder, the image template looks as follows:

<div class="content-view-galleryline">
    <div class="class-image">
    <div class="attribute-image"{if is_set($#image_style)} style="{$#image_style}"{/if}>
        <p>

The question is: where is the style setting? where should I change it? I don't want 105x100 pixels but 100x100. o_O

Shiki soku ze ku...

André R.

Sunday 18 January 2009 5:53:05 am

That variable should be set based on size you define in image.ini, but the code only understands settings that crop / resize both width and size so you should remove or enhance it if you use different image alias rules.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Noicokuna Niemoge

Sunday 18 January 2009 12:04:28 pm

Well, I use default ezwebin installation o_O No modifications...

Now I see in image.ini that is by default set to 105x100, I will change this, thanks!

(anyway, this doesn't look good: it should be changed ^^)

Shiki soku ze ku...