LightBox Slideshow jquery (NotesFor.net) v3.2 - Page 3 LightBox Slideshow jquery (NotesFor.net) v3.2 - Page 3
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

LightBox Slideshow jquery (NotesFor.net) v3.2

Started by Joe Carver, December 18, 2009, 06:01:20 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

m4rcu5

My apologies.

Thank you for putting it in the next release, i am looking forward to it :-)

The link to my current cpg15x testing ground is: http://cpg15.marcusvandam.nl.
I also noticed i am currently using you theme here. If you dont mint i will be using this theme on my production site as well, but i probably change all the images to fit my style.

-m4rcu5

casp3r

Apologises if this isn't the place to ask. Can't seem to find an answer to this. I have this plugin enabled and it's great but there's one thing I can't seem to workout - When the internediate image is clicked the lightbox pops up and displays the larger image, but it doesn't appear to display the full size. I have images of 800, 1024, 1200 and higher in width but they all seem to display at a size around 800px. Is there anywhere that I can change so that the full size image is displayed?

www.niaviation.co.uk/gallery/index.php

testuser
password2010

Many thanks in advance.

Joe Carver

Quote from: casp3r on June 12, 2010, 08:55:06 PM
....but they all seem to display at a size around 800px.
That is by design, to fit inside a browser window. Use full screen mode.

Quote from: casp3r on June 12, 2010, 08:55:06 PM
Is there anywhere that I can change so that the full size image is displayed?

Yes, by editing file plugins/lightbox_notes_for_net/script.js.

Find:
var resize = 1;

Replace with:
var resize = 0;

It will then show the image full sized with no adjustment. There is no "in between" with this.
Always make a back up before making any changes.


casp3r


Joe Carver

#44
Release of Version 3.0

    Changelog
    • Add "Download Link" to open fullsize in new window. Set by config. for:  all visitors - logged user -  none.
    • Add config option for no image resize

    New version attached to first post in thread.

    As always to upgrade - uninstall and delete the old plugin before uploading and installing the new version.

    6thmercury

    I installed this plugin with 1.5.6 and whenever I click on any image, I get this error:

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 77 bytes) in /home/xxxx/public_html/gallery/include/functions.inc.php  on line 277

    Any clue as to why this is happening?

    Joe Carver

    Quote from: 6thmercury on June 15, 2010, 03:58:58 AM
    Any clue as to why this is happening?
    Not without a link to your gallery - it is required for support.

    socomoroco

    hellow

    i get this error when viewing most viewed from my gallery.

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16 bytes) in /xx/xxx/xxx/xxxx/include/functions.inc.php on line 277

    http://www.huitzuco.org/photo/displayimage.php?album=topn&cat=0&pid=8520#top_display_media

    when i choose to see this album http://www.huitzuco.org/photo/thumbnails.php?album=551 and want to se most viewed i get this error. some albums is ok. and when i try to go to the next image i get random image. i can not go back to first image.
    this error happen when i am in most viewed.

    While executing query 'SELECT r.pid, r.aid, filepath, filename, url_prefix, pwidth, pheight, filesize, ctime, r.title, r.keywords, r.votes, pic_rating, hits, caption, r.owner_id, pic_raw_ip, pic_hdr_ip
                    FROM cpg_pictures AS r
                    INNER JOIN cpg_albums AS a ON a.aid = r.aid
                    WHERE (r.aid = 551)
                    AND approved = 'YES'
                    AND hits > 0
                    ORDER BY hits ASC, pid DESC
                     LIMIT 0 ,-20' in include/functions.inc.php on line 1593

    mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-20' at line 8

    File: /xx/xxx/xxx/xxx/include/functions.inc.php - Line: 258

    and when i deactivate the plugin nothing of this errors happen

    Joe Carver

    Try adjusting the plugin config. setting:  Number of files in album to list for Slideshow.
    Use a value of 500 or less.

    socomoroco

    Quote from: Joe Carver on June 18, 2010, 11:51:40 AM
    Try adjusting the plugin config. setting:  Number of files in album to list for Slideshow.
    Use a value of 500 or less.

    i did use different number less than 500, errors still come up.

    Joe Carver

    Thanks for the reply. This issue might have a cause that I can not control at the moment.
    I can not replicate the size of your gallery with my test gallery.

    Please - could you make a fast test without the plugin?

    1) Uninstall Lightbox
    2) Choose a recent Category (2010)
    3) Try "Most viewed"  -> then the last page -> last thumbnail
    ex. 
          http://www.huitzuco.org/photo/thumbnails.php?album=topn&cat=-544&page=3
          http://www.huitzuco.org/photo/displayimage.php?album=topn&cat=-544&pid=30687#top_display_media
    and
    4) Home Page -> "Most Viewed" ->  then the last page -> last thumbnail
    ex.
        http://www.huitzuco.org/photo/thumbnails.php?album=topn&cat=0&page=1537
        http://www.huitzuco.org/photo/displayimage.php?album=topn&cat=0&pid=31265#top_display_media

    Thanks in advance if you can reply with your results.


    socomoroco

    Quote from: Joe Carver on June 18, 2010, 06:02:47 PM
    Thanks for the reply. This issue might have a cause that I can not control at the moment.
    I can not replicate the size of your gallery with my test gallery.

    Please - could you make a fast test without the plugin?

    1) Uninstall Lightbox
    2) Choose a recent Category (2010)
    3) Try "Most viewed"  -> then the last page -> last thumbnail
    ex. 
          http://www.huitzuco.org/photo/thumbnails.php?album=topn&cat=-544&page=3
          http://www.huitzuco.org/photo/displayimage.php?album=topn&cat=-544&pid=30687#top_display_media
    For the first url this error:
    "While executing query 'SELECT r.pid, r.aid, filepath, filename, url_prefix, pwidth, pheight, filesize, ctime, r.title, r.keywords, r.votes, pic_rating, hits, caption, r.owner_id, pic_raw_ip, pic_hdr_ip
                    FROM cpg_pictures AS r
                    INNER JOIN cpg_albums AS a ON a.aid = r.aid
                    WHERE (r.aid = 544)
                    AND approved = 'YES'
                    AND hits > 0
                    ORDER BY hits ASC, pid DESC
                     LIMIT 0 ,-45' in include/functions.inc.php on line 1593

    mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-45' at line 8

    Fichero: /x/x/x/x/include/functions.inc.php - Linea: 258 "

    second url
    While executing query 'SELECT r.pid, r.aid, filepath, filename, url_prefix, pwidth, pheight, filesize, ctime, r.title, r.keywords, r.votes, pic_rating, hits, caption, r.owner_id, pic_raw_ip, pic_hdr_ip
                    FROM cpg_pictures AS r
                    INNER JOIN cpg_albums AS a ON a.aid = r.aid
                    WHERE (r.aid = 544)
                    AND approved = 'YES'
                    AND hits > 0
                    ORDER BY hits ASC, pid DESC
                     LIMIT 0 ,-45' in include/functions.inc.php on line 1593

    mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-45' at line 8

    Fichero: /x/x/x/x/include/functions.inc.php - Linea: 258
    Quote
    and
    4) Home Page -> "Most Viewed" ->  then the last page -> last thumbnail
    ex.
        http://www.huitzuco.org/photo/thumbnails.php?album=topn&cat=0&page=1537
        http://www.huitzuco.org/photo/displayimage.php?album=topn&cat=0&pid=31265#top_display_media

    Thanks in advance if you can reply with your results.
    with no errors.

    thank you for your time and help. any advice is welcome

    Joe Carver

    It might be related to: This Thread. Until that is resolved you might want to not use the LightBox and reinstall it later. Thanks for the reply.

    coderoyal

    Hi,

    This is a great plugin! Is there any plans to have it update the view counter when an image is viewed through LightBox?

    Joe Carver

    For some reason the counter is not longer functioning. I will look at it within the next few days and if successful include the fix in a new release.

    Joe Carver

    socomoroco,
    You can see if this related fix solves your LightBox problem. Try release 7701 or later.

    Quote from: Nibbler on June 21, 2010, 08:42:50 PM
    Please see if the fix in r7701 solves this.

    Joe Carver

    Release of Version 3.1

      Changelog
      • Fix bug in counter

      New version attached to first post in thread.

      socomoroco

      Quote from: Joe Carver on June 22, 2010, 04:26:44 AM
      socomoroco,
      You can see if this related fix solves your LightBox problem. Try release 7701 or later.


      please tell me where to get release 7701

      Joachim Müller


      socomoroco

      Quote from: Joe Carver on June 22, 2010, 04:26:44 AM
      socomoroco,
      You can see if this related fix solves your LightBox problem. Try release 7701 or later.


      it did fix mySQL error most viewed image. Thanks dev team
      http://forum.coppermine-gallery.net/index.php/topic,65552.msg326228.html#msg326228

      Quote from: Joachim Müller on June 22, 2010, 07:53:47 AM

      LightBox plugin is great and works.
      category with 1382 files http://www.huitzuco.org/photo/displayimage.php?album=topn&cat=142&pid=28223#top_display_media

      but still i am getting Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16 bytes) in /xx/xxx/xxx/xxxx/include/functions.inc.php on line 277  and most times no error or image is display
      on gallery-most viewed image http://www.huitzuco.org/photo/thumbnails.php?album=topn&cat=0

      thanks for your help