[solved]Help in tweaking gallery

amac00

Joined: 2012-06-13
Posts: 20
Posted: Tue, 2012-06-26 18:12

1st .I want to show full size image on gallery picture page instead of thumbnail where click is required to view full size. i have searched this in forum but couldn't find solution.

2nd . i have 5 album in gallery and then various sub gallery ..inside sub gallery there is all images as thumb which is required to click for viewing . i want to remove name of all pictures. want to display only pictures instead of picture name below the thumb.

3rd. Is there any way to show previous and next image thumb in picture page?

any help or guidance will be appreciated.

thank you

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25966
Posted: Tue, 2012-06-26 19:14

1. make the resize the same size as your full size. Theme options.
2. Some themes have this option. If the theme you are using does not have that option you will need to customize it. Are you talking the albums page or the photo page?
3. There is a similar module called thumb nav that or album nav that night work.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
amac00

Joined: 2012-06-13
Posts: 20
Posted: Tue, 2012-06-26 20:42

1. In theme option , there is option to change the resized image size . how to make it original for all file. As this option accept numbers only as pixel. If i increase the pixel then there might be fading in case of small size picture. So , is there any way to show default pic.

2. I am talking about page where all pics are shown as thumb and after clicking on them the pic shown. I want to remove name of picture below thumb.

3. i found thumb nav. thank you

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25966
Posted: Wed, 2012-06-27 00:25

1. make it very large like 2000 or 3000. The other option is to edit the theme.
/views/photo.html.php not tested but try this. Remove:
<?= $item->resize_img(array("id" => "g-item-id-{$item->id}", "class" => "g-resize")) ?>
and change to
<?= $item->file_url() ?>

2. Could be done with css but since you now have a custom theme
/views/album.html.php remove

    <h2><span class="<?= $item_class ?>"></span>
      <a href="<?= $child->url() ?>"><?= html::purify($child->title) ?></a></h2>

or even a bit more as well:

    <ul class="g-metadata">
      <?= $theme->thumb_info($child) ?>
    </ul>

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
amac00

Joined: 2012-06-13
Posts: 20
Posted: Wed, 2012-06-27 11:28

1. I did as u said i.e. replaced the code but now links are shown in place of pics.

on place of image there is link of image which is /var/albums/album name/ xxx.jpg

how to get images instead of link?

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25966
Posted: Wed, 2012-06-27 14:40

<img src ="<?= $item->file_url() ?>">

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
amac00

Joined: 2012-06-13
Posts: 20
Posted: Wed, 2012-06-27 14:58

Perfect

Login or register to post comments