cotonti.com : Gallery of URLkiller https://www.cotonti.com Last topic posts Cotonti en Thu, 29 Jan 2026 06:58:52 -0000 pieter Kort, do you have an idea when the crop function in Siena version will be solved?

If it is, I can convert my site to siena.

Added 2 days later:

Howto: How to make a gallery with Pageavatar?

http://www.cotonti.com/docs/plugin/gallery_pageavatar

]]>
Fri, 15 Apr 2011 10:19:29 -0000
Kort I do not mind. We, however, build sliders using the news and pageavatar plugins only. Genoa lacks flexibility abit, still this imho does not require any other plugins.

]]>
Fri, 15 Apr 2011 10:13:50 -0000
tensh Page avatar is a great plugin.

If Kort agrees, I might release the featured content slider on home page, taking the avatar of the page and the text and displaying it in the fashion like in Nivo slider: http://nivo.dev7studios.com/

]]>
Fri, 15 Apr 2011 09:25:15 -0000
pieter Kort,

I'm testing the paga avatar on Siena.

I use the following string:
foto|datas/fotos|thumb250_-250-250|1||crop


But it is not cropping, it is resizing. And because it is square, my pictures are out of aspect ratio.

]]>
Tue, 12 Apr 2011 20:40:19 -0000
urlkiller just to answer...

 

no i will not convert my gallery...
BUT most likely there comes a new gallery someday

]]>
Tue, 29 Mar 2011 04:50:40 -0000
Kort Fixed: 

  • incorrect "frame" thumb generation
  • ext uppercase error

For 2.20 -> 2.25 just overwrite the files. For upgrades from earlier versions save plugin settings, uninstall, delete the plugin from the disk, reupload, install and reinsert the settings (with proper corrections)

]]>
Sun, 27 Mar 2011 09:16:45 -0000
pieter What is changed?
How to upgrade?

Is it possible that an extension with capitals is not excepted?
My Nikon D90 make xxx.JPG and not xxx.jpg.
And the error is: Cover image is not an image

]]>
Sun, 27 Mar 2011 09:02:28 -0000
Kort We already have a version for Siena. Once testing is finished we will release it. Hopefully, next week :)

Добавлено 19 часа спустя:

PageAvatar 2.25 is ready for testing. Once we're done, PageAvatar for Siena will follow.

]]>
Sat, 26 Mar 2011 13:59:44 -0000
pieter Kort,

Thx for the help. The result for the moment: http://www.kruisstraat89.be/list.php?c=2011-03

When will the plugin be released for Siena?

]]>
Sat, 26 Mar 2011 13:48:58 -0000
Kort We're checking it right now...

]]>
Sat, 26 Mar 2011 11:11:21 -0000
pieter I mean if I upload a picture with page_avatar. The width is always the same.

I use: foto|datas/fotos|thumb_-100-100 thumb200_-200-200 thumb250_-250-250 thumb300_-300-300|0||frame

I want the biggest site to be eg 300. If landscape width should be 300 and in portrait the height should be 300.

]]>
Sat, 26 Mar 2011 08:20:54 -0000
Kort Did you check for unclosed IF-blocks?

]]>
Sat, 26 Mar 2011 07:41:24 -0000
pieter Kort, another question.

I use frame and get this: http://www.kruisstraat89.be/list.php?c=foto

I thought that the largest size would be the same.

this is the way you want thumb to be generated: crop is crop, height gives you height priority, width -- width priority, frame means the thumb will stay within the specified height and width

Added 20 minutes later:

2 photos are cropped to do a test.

]]>
Sat, 26 Mar 2011 06:52:03 -0000
Kort One small correction!

agencies|datas/agencies|thumb_-140-100 thumb2_280_200|0||frame

Use cotemplate from the Siena to have the following capability:

<!-- IF {LIST_ROW_NUM} % 3 == 0 -->SOMEACTION<!-- ENDIF -->

... or use equal right & left margins

]]>
Sun, 20 Mar 2011 08:29:17 -0000
pieter Thx, it is a very nice plugin.
It was not easy for all the options.

The standard options that are in the config by default are not working. They give, "no file selected".

There is where it went wrong for me.

 

But thanks for the support.

Added 4 minutes later:

One small question.

If I want to display in list 3 photos per row.

How to to this?

]]>
Sun, 20 Mar 2011 08:02:31 -0000
Kort It is all written there:

agencies|datas/agencies|thumb_-140-100 thumb_280_200|0||frame

]]>
Sun, 20 Mar 2011 07:58:25 -0000
pieter I used : foto|datas/fotos|thumb_-300-300|1|jpg|height

But with yours agencies|datas/agencies|thumb_-140-100|0||frame it works.

Thanks, now I can try some stuff

 

Can I add:

 

foto|datas/fotos|thumb_-100-100|0||frame
foto|datas/fotos|thumb300_-300-300|0||frame
 
Two different thumbnails for same picture?
]]>
Sun, 20 Mar 2011 07:54:41 -0000
Kort This is the config string:

agencies|datas/agencies|thumb_-140-100|0||frame

It renames the original file to page_ID.EXT, uploads it into the ./datas/agencies and builds a thumbnail sized 140*100 and saves it in the same folder (and writes page_ID.EXT to the page_avatar extrafield)

The code:

<!-- IF {PAGE_AVATAR} --><img src="https://www.cotonti.com/./datas/agencies/thumb_{PAGE_AVATAR}" alt="{PAGE_SHORTTITLE}" /><!-- ELSE --><img src="https://www.cotonti.com/./datas/agencies/nologo.png" alt="{PAGE_SHORTTITLE}" /><!-- ENDIF -->

Checks if page_avatar is filled out and outputs the thumb. If no file is uploaded it outputs the nologo.png

]]>
Sun, 20 Mar 2011 07:39:56 -0000
pieter In the /datas/fotos I only have the original files, but no thumb.

Is the thumb generated on the spot, or during download?

]]>
Sun, 20 Mar 2011 07:23:42 -0000
Kort Pieter, the idea is to play with the names and specify paths in the template. So "no path" is absolutely fine. Check if ./datas/fotos/thumb_{PAGE_AVATAR} exists and try ...src="./datas/fotos... if it does.

That is what I use:

<!-- IF {PAGE_AVATAR} --><img src="https://www.cotonti.com/./datas/agencies/thumb_{PAGE_AVATAR}" alt="{PAGE_SHORTTITLE}" /><!-- ELSE --><img src="https://www.cotonti.com/./datas/agencies/nologo.png" alt="{PAGE_SHORTTITLE}" /><!-- ENDIF -->

]]>
Sun, 20 Mar 2011 07:14:25 -0000
pieter It was not working, because I changed the default entry, without adding the allowed extension and how to make the tumbnail.

Now it is added and it works.

{PAGE_AVATAR} gives me only the filename. Not the path.

 

I added this;

<img src="https://www.cotonti.com/datas/fotos/{PAGE_AVATAR}" alt="First foto" />

 

<img src="https://www.cotonti.com/datas/fotos/thumb_{PAGE_AVATAR}" alt="First foto" />
 
But the 2nd one does not work.
]]>
Sun, 20 Mar 2011 07:03:17 -0000
esclkm вте forget about

enctype="multipart/form-data"

 

]]>
Sat, 19 Mar 2011 08:52:55 -0000
Kort In the plugin settings specify a config string for the gallery folder. Do not forget to create the folder in the ./datas

If you've done both check if the images are uploaded there.

Tag for the page.tpl is PAGE_AVATAR / thumb_{PAGE_AVATAR} / thumbsmaller_PAGE_AVATAR etc

]]>
Sat, 19 Mar 2011 07:55:39 -0000
pieter Hey Kort,

I'm testing it on genoa.

I added the part in page.add.tpl.
If I create a new page, he asked me to Choose a file. I can only use a locale one.
But he does not upload it. How do I do it?

]]>
Sat, 19 Mar 2011 07:41:26 -0000
Kort I believe, you're familiar with the page-based gallery creation technique. We have discarded all our galleries in favor of this simple way to organize an image showcase. This requires Pageavatar plugin and a jQuery gallery plugin of your choice (we use fancybox). Galleries are basically lists while images are pages. Pageavatar 2.20 covers most requirements for image cropping/resize (except creating solid-color backgrounds) and enables you to create as many various "thumbnails" as you like. This way you can build both "real small" thumbs and resize the original pics to the desired size. As we have started our first Siena project a few days ago, Pageavatar for Siena can be expected real soon.

I'd start with analyzing the structure of the plugin SQL-table and the way Pageavatar works to workout possible ways of transition. Resizing / renaming 1500 or 15000 pics is a simple matter, you know :)

]]>
Sat, 19 Mar 2011 06:42:15 -0000
pieter I want to Kort, but I'm not that good to do this without help.

Do you have a start for me?
How do I start? I have over 1500pictures.

]]>
Sat, 19 Mar 2011 06:25:59 -0000
Kort Absolutely useless already in Genoa. Why don't you convert the table and embed it into the page structure? This Seditio-style outdated, unsupported and poorly coded plug is good for nothing now that we got file extrafields and future flexibility for image crop/resize in Siena.

]]>
Sat, 19 Mar 2011 06:22:52 -0000
pieter Hey URLkiller,

Are you planning to convert your great gallery to Siena?
I use your gallery on Genoa and I can't upgrade without your gallery.

I love it, and don't want to loose it.

Pieter

]]>
Fri, 18 Mar 2011 17:30:08 -0000