I've been using the runway gallery and after a few tweaks, it's been working nicely. I have one question though:
I wanted to change the size of the thumbnails it uses. it appends _thumb to the image and generates what appears to be a fixed size thumbnail, I can't see anywhere to change it.
I modified the macro using imagegen to create larger thumbnails, but the performance is much slower than when it uses the _thumb command.
I did find a post on entering values in the upload data type, but I don't see how you go about referencing them from the xslt (if that's even the right place to be looking).
There used to be a way to specify the size of the _thumb but I don't recall it off the top of my head. I'll see if I can dig it up and if it still works.
As for ImageGen... you should find the performance is the same as for a static file, since all generated images are cached to disk. Only the first instance of creating the resized image should take any time, and that is usually very fast... though a slow or over-burdened server will take more time to generate the cached image. However, there is a caching bug in ImageGen 2.0.1 and you should grab the update at http://our.umbraco.org/projects/imagegen
Go to the developer-section and open data-types. Go and edit 'Upload'. You can define multiple dimensions for thumbnails there. Everytime you add a new image, a thumbnail with that dimension will be created as well.
If you fill in 250, then _thumb_250 is appended to the name.
And following Peter's post, max width/height of the thumb will be 250 depending on the image layout! If original pic is a 200x100 (hxw) portrait pic, then thumb_250 will have a 250x125 dimension. And the other way around for landscape pics.
Sorry I know this is an old post but I just dont get it.
When I go to DataTypes and edit Upload I can see the settings:
Database datatype: [ Nvarchar ]
Thumnail sizes ( mas width/height, semicolon seperated for multi [ input field ]
How do I write the width and height in the input filed at Thumbnail sizes? I've tried to type in like 190, but nothing happens when I upload a new image. It still makes a thumbnail with the width 100px;
Cant find anything in the XSLT file or in the CSS files. So how do I change this?
Ok so I got a Dokumenttype that I call Gallery Photo. Inside the dokumentype I got a property for the Image width and height, called umbracoWidth and umbracoHeight.
Under developer section I got two XSLT files called: galleryListAlbums.xslt, galleryPhotos.xslt
I guess it's the galleryPhotos.xslt I need to focus on, since thats where I find the umbracoHeight/Width values
changing _thumb dimensions in runway gallery?
I've been using the runway gallery and after a few tweaks, it's been working nicely. I have one question though:
I wanted to change the size of the thumbnails it uses. it appends _thumb to the image and generates what appears to be a fixed size thumbnail, I can't see anywhere to change it.
I modified the macro using imagegen to create larger thumbnails, but the performance is much slower than when it uses the _thumb command.
I did find a post on entering values in the upload data type, but I don't see how you go about referencing them from the xslt (if that's even the right place to be looking).
Any suggestions on what I might try?
There used to be a way to specify the size of the _thumb but I don't recall it off the top of my head. I'll see if I can dig it up and if it still works.
As for ImageGen... you should find the performance is the same as for a static file, since all generated images are cached to disk. Only the first instance of creating the resized image should take any time, and that is usually very fast... though a slow or over-burdened server will take more time to generate the cached image. However, there is a caching bug in ImageGen 2.0.1 and you should grab the update at http://our.umbraco.org/projects/imagegen
cheers,
doug.
Go to the developer-section and open data-types. Go and edit 'Upload'. You can define multiple dimensions for thumbnails there. Everytime you add a new image, a thumbnail with that dimension will be created as well.
If you fill in 250, then _thumb_250 is appended to the name.
HTH,
Peter
@Doug: it still works ;)
And following Peter's post, max width/height of the thumb will be 250 depending on the image layout! If original pic is a 200x100 (hxw) portrait pic, then thumb_250 will have a 250x125 dimension. And the other way around for landscape pics.
Cheers,
/Dirk
thanks very much guys, all of that information is a huge help.
Sorry I know this is an old post but I just dont get it.
When I go to DataTypes and edit Upload I can see the settings:
Database datatype: [ Nvarchar ]
Thumnail sizes ( mas width/height, semicolon seperated for multi [ input field ]
How do I write the width and height in the input filed at Thumbnail sizes? I've tried to type in like 190, but nothing happens when I upload a new image. It still makes a thumbnail with the width 100px;
Cant find anything in the XSLT file or in the CSS files. So how do I change this?
Ok so I got a Dokumenttype that I call Gallery Photo.
Inside the dokumentype I got a property for the Image width and height, called umbracoWidth and umbracoHeight.
Under developer section I got two XSLT files called: galleryListAlbums.xslt, galleryPhotos.xslt
I guess it's the galleryPhotos.xslt I need to focus on, since thats where I find the umbracoHeight/Width values
So there must be a similar way to call the size of the generated thumbnails - added to the XSLT file, but where and how???
is working on a reply...