Log in | Register | Lost password

Bottom
Show image without the slideshow
  • Posted: 29.09.2003, 09:27
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    How do i do that? I would like to show the picture, when you click the thumbnail, but without the slideshow.
  • Posted: 29.09.2003, 11:45
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Not possible unless you make your own copy of the thumbnails template and modify that your self.
  • Posted: 29.09.2003, 13:07
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    And what do i need to modify? :o
  • Posted: 29.09.2003, 13:56
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Something along the lines of my last answer in http://www.elfisk.dk/modules.php?op=modload&name=XForum&file=viewthread&tid=211#pid
  • Posted: 29.09.2003, 16:24
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    ok, J?rn. Vi pr?ver lige p? dansk:
    Hvad er det helt pr?cis jeg skal g?re? Hvorfor skal jeg lave en ny template? Hvorfor ikke bare redigere i den eksisterende? og ikke mindst hvad jeg redigere for at vise billedet uden slideshow funktionen? H?ber du forst?r hvad jeg mener!!!
  • Posted: 29.09.2003, 17:15
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Ok, hvis du ikke vil lave en ny template, men hellere vil rette i den eksisterende, s? skal du rette i templates/thumbnails/template.php. Find det sted hvor der produceres IMG tags. Disse har en source attribute (URL) som er beregnet ved et funktionskald tidligere.

    Dvs. i getThumbnailHTML skal:

    $largerURL = $templateHelper->folderURL($folderID, 'slideshow') . "&iid=$id";

    rettes til:

    $largerURL = $templateHelper->imageURL($folderID,$id);

    (din kode ser muligvis ikke s?dan ud, da jeg selv har rettet noget siden 3.1.0).

    Husk at hvis du retter i thumbnails, s? bliver din rettelse overskrevet n?ste gang du installerer en ny Photoshare.
  • Posted: 27.08.2004, 15:17
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Hello, I have exactly the same issue, want to have the template thumbnail but no slideshow when clikcing at it, only one big picture.
    I copied the thumbnail template folder, renamed THUMBNAIL everywhere to "mine" and replaced inside template.php the line

    $largerURL = $templateHelper->folderURL($folderID, 'slideshow') . "&iid=$id";

    with

    $largerURL = $templateHelper->imageURL($folderID,$id);

    (I don't understand your language so I guessed that only)
    But this creates a blank screen when I change the gallery template to this one.
    Any help would be very appreciated. :P

    Edit: I'm using 3.3.0

    [Edited on 27/8/2004 by Horian]
  • Posted: 06.09.2004, 17:45
     
    Converted
    rank:
    12
    registered:
     March 2009
    Status:
    offline
    last visit:
    Posts:
    0
    Since the try with 0.303 under 0.726 postnuke crashed the whole install last time nd I still have this issue now under postnuke 0.750 RC4 with version 4.02, I don' want to try to shut off slideshow in thumbnails template blind.
    So please an english version of the tut. :P
    (bump)

    I found that posting somewhere:

    Quote


    You can copy the thumbnails template into your own template. Then edit line 127 and make it:

    $largerURL = $templateHelper->imageURL($folderID, $id);

    Now you have an image url. Then fix the anchor tag by adding "target='_new'" as an attribute in the tag. That should get you beginning.

    [Edited on 2/7/2003 by J?rn]

    So to prevent more crashs at my page, I copy the thumbnail-template folder. Than I rename THUMBNAIL everywere with my own tag. Than I go into template.php into line 127 and change the above line and add somewhere target='_new' (where?).
    That's it and works under 0.750 RC4?

    [Edited on 6/9/2004 by Horian]

Template courtesy of Designs By Darren.