Forums / General / Gallery orientation

Gallery orientation

Author Message

Gregori Martínez

Saturday 21 July 2007 5:03:57 pm

I'm trying to submit a couple of pictures[0], but once I uploaded It gave me a wrong orientation, it seems configured for a vertical picture... anyone have an idea how to fix it? I'm running 3.9.0 thanks in advance.

Ref.[0] http://www.fenals.cat/index.php/cat/comunitat/fotografies/panoramica_de_fenals

André R.

Monday 23 July 2007 2:17:39 am

You need to change the size of gallerythumbnail in image.ini in your frontsite site access(es), it should look like this:

[gallerythumbnail]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=105;100

About the issue with to much 'air' between the header and the content, you can try to update ezwebin to a more recent version of ezwebin v1.1: http://zev.ez.no/svn/extensions/ezwebin/stable/1.1/

But it's not 100% fixed before version 1.2, the one that was included in eZp 3.9.2.
But to upgrade to 1.2 you need to run a upgradescript because of some changes.

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

Jacobo Quiles

Monday 23 July 2007 3:06:09 am

Hello Gregori,
the images that are displayed in gallery full view are proportionally resized.

When ezpublish displays images through attribute_view_gui, a needed parameter is the 'image_class' which defines the maximum width and height of the image for a view.

As André comments, try changing in your image.ini the size for gallerythumbnail to something like:

[gallerythumbnail]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=120;180

The size of the boxes of each image is fixed in a css style, so you should change that style to remove the extra space (if it's that what you want):

<div class="attribute-image" style="width: 120px; height: 200px;"> ... 

Cheers

Microblau SL
http://www.microblau.net

André R.

Monday 23 July 2007 4:32:04 am

The size of the div is based on the height of gallerythumbnail as defined in image ini, so changing the height as Jacobo suggest from a 200 to 180 height won't help much.

The settings I posted above is from a ezwebin 1.2 installation, and should work a bit better.

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

Gregori Martínez

Monday 23 July 2007 4:39:07 pm

Thanks to all, let's go investigate