I have a bunch of files listed in a category, and all have "specific icons". When I view that category, all the images are laid out unevenly (some are further right/left than others). Here is an example: http://tinyurl.com/2umwfoe
It is happening because the file names are longer than others.
Is there a was to set the icons so they always "right align" instead?
Alignment of Icons in file view
-
Earthson
- Phoca Member

- Posts: 36
- Joined: 01 Oct 2008, 15:37
- Contact:
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Alignment of Icons in file view
Hi, see:
https://www.phoca.cz/documents/17-phoca- ... -file-name
https://www.phoca.cz/documents/17-phoca- ... load-theme
Jan
https://www.phoca.cz/documents/17-phoca- ... -file-name
https://www.phoca.cz/documents/17-phoca- ... load-theme
Jan
If you find Phoca extensions useful, please support the project
-
Earthson
- Phoca Member

- Posts: 36
- Joined: 01 Oct 2008, 15:37
- Contact:
Re: Alignment of Icons in file view
Sorry, I looked at those pages, but I don't see that they help. Did you see the link I provided? And how the images are spread out left and right?
Thanks,
Ryan
Thanks,
Ryan
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Alignment of Icons in file view
Hi, did you set the name of the image with prefix "phocathumbnail" to see it.
https://www.phoca.cz/documents/17-phoca- ... -file-name (like here displayed)
If the image will include this prefix, then the image will be displayed above the filename.
If this will not fit your needs, then you need to customize the template
Jan
https://www.phoca.cz/documents/17-phoca- ... -file-name (like here displayed)
If the image will include this prefix, then the image will be displayed above the filename.
If this will not fit your needs, then you need to customize the template
Jan
If you find Phoca extensions useful, please support the project
-
Earthson
- Phoca Member

- Posts: 36
- Joined: 01 Oct 2008, 15:37
- Contact:
Re: Alignment of Icons in file view
Hey Jan,
I guess I wasn't paying attention...sorry
That worked. Everything is lined up and nice and tidy.
I guess I wasn't paying attention...sorry
That worked. Everything is lined up and nice and tidy.
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Alignment of Icons in file view
Ok
If you find Phoca extensions useful, please support the project