Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Change style in folder with only folders
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3876
Page 1 of 1

Author:  hvdwolf [ 5. Jun 2015, 10:48 ]
Post subject:  Change style in folder with only folders

Hi,

I'm a fresh user of TWG version 2.3.2 and so far it's working nice.
I have arranged my pictures/videos per year and copied it like that into the twg document root.

So my TWG entry page looks like the attached image (not complete screen).
I have 2 questions:
    - I don't like the border around the "folder image+ gallery description". I'd like to have the folder image and immediately below it the description to fit more on this entry page.
    - I would like to sort from new to old. Not like now from 1989->2015, but 2015 ->1989

How can I do that? I already looked through the css options and the skins (as examples), I searched the forum and the FAQ but I can't find it.

Thanks

Edit: Question 2 is solved now. I had the following config_sort.php
Code:
<?
$sort_images_ascending = false;
$sort_albums_ascending = false;
?>

It turns out I need to do (attached image updated):
Code:
<?php
$sort_images_ascending = false;
$sort_albums_ascending = false;
?>


Attachments:
File comment: Example image
folders-view.jpg
folders-view.jpg [ 35.38 KiB | Viewed 2516 times ]

Author:  TinyWebGallery [ 7. Jun 2015, 01:34 ]
Post subject:  Re: Change style in folder with only folders

You might look for:

$hide_overview_image_border = false;
->
$hide_overview_image_border = true;

Best, Michael

Author:  hvdwolf [ 7. Jun 2015, 10:00 ]
Post subject:  Re: Change style in folder with only folders

Thanks a lot. That did it. I placed a one-liner config.php in the top level with
<?php
$hide_overview_image_border = true;
?>

And now the top-level is borderless whereas all lower levels still have the border around the thumbnails.
Great flexibility!

Author:  hvdwolf [ 7. Jun 2015, 10:09 ]
Post subject:  Re: Change style in folder with only folders

And I have 3 rows in my galleries.

However, I added the following 2 lines to that one-liner (now 3-liner) config.php in the toplevel.
$menu_x= 6; // (Number) Number of albums which are shown in a row on the overview page.
$menu_y= 6; // (Number) Number of rows on the overview page.

So my toplevel now has six lines with smaller folder images (softlink to "mini" folder image) and the lower gallery levels still have the 3 rows.

Again: Great flexibility!

Author:  TinyWebGallery [ 8. Jun 2015, 09:59 ]
Post subject:  Re: Change style in folder with only folders

;).

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/