Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: 1 2 [3] 4 5 6 7 ... 9   Go Down

Author Topic: LightBox Slideshow jquery (NotesFor.net) v3.2  (Read 249817 times)

0 Members and 1 Guest are viewing this topic.

m4rcu5

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: LightBox Slideshow jquery (NotesFor.net) v2.9
« Reply #40 on: May 12, 2010, 10:04:31 am »

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
Logged

casp3r

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: LightBox Slideshow jquery (NotesFor.net) v2.9
« Reply #41 on: June 12, 2010, 08:55:06 pm »

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.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: LightBox Slideshow jquery (NotesFor.net) v2.9
« Reply #42 on: June 13, 2010, 12:55:08 am »

....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.

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:
Code: [Select]
var resize = 1;
Replace with:
Code: [Select]
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

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 30
Re: LightBox Slideshow jquery (NotesFor.net) v2.9
« Reply #43 on: June 13, 2010, 01:03:09 am »

Perfect :) Many thanks.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1545
  • aka 'i-imagine'
    • Home Page
Re: LightBox Slideshow jquery (NotesFor.net) v2.9
« Reply #44 on: June 14, 2010, 03:35:03 pm »

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.
    « Last Edit: June 14, 2010, 03:42:47 pm by Joe Carver »
    Logged

    6thmercury

    • Coppermine newbie
    • Offline Offline
    • Posts: 4
    Re: LightBox Slideshow jquery (NotesFor.net) v3.0
    « Reply #45 on: June 15, 2010, 03:58:58 am »

    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?
    Logged

    Joe Carver

    • Dev Team member
    • Coppermine addict
    • ****
    • Country: us
    • Offline Offline
    • Gender: Male
    • Posts: 1545
    • aka 'i-imagine'
      • Home Page
    Re: LightBox Slideshow jquery (NotesFor.net) v3.0
    « Reply #46 on: June 15, 2010, 04:37:49 am »

    Any clue as to why this is happening?
    Not without a link to your gallery - it is required for support.

    socomoroco

    • Coppermine newbie
    • Offline Offline
    • Posts: 8
    Re: LightBox Slideshow jquery (NotesFor.net) v3.0
    « Reply #47 on: June 18, 2010, 03:08:47 am »

    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
    Logged

    Joe Carver

    • Dev Team member
    • Coppermine addict
    • ****
    • Country: us
    • Offline Offline
    • Gender: Male
    • Posts: 1545
    • aka 'i-imagine'
      • Home Page
    Re: LightBox Slideshow jquery (NotesFor.net) v3.0
    « Reply #48 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.

    socomoroco

    • Coppermine newbie
    • Offline Offline
    • Posts: 8
    Re: LightBox Slideshow jquery (NotesFor.net) v3.0
    « Reply #49 on: June 18, 2010, 05:03:16 pm »

    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.
    Logged

    Joe Carver

    • Dev Team member
    • Coppermine addict
    • ****
    • Country: us
    • Offline Offline
    • Gender: Male
    • Posts: 1545
    • aka 'i-imagine'
      • Home Page
    Re: LightBox Slideshow jquery (NotesFor.net) v3.0
    « Reply #50 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
    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

    • Coppermine newbie
    • Offline Offline
    • Posts: 8
    Re: LightBox Slideshow jquery (NotesFor.net) v3.0
    « Reply #51 on: June 18, 2010, 07:49:53 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
    Logged

    Joe Carver

    • Dev Team member
    • Coppermine addict
    • ****
    • Country: us
    • Offline Offline
    • Gender: Male
    • Posts: 1545
    • aka 'i-imagine'
      • Home Page
    Re: LightBox Slideshow jquery (NotesFor.net) v3.0
    « Reply #52 on: June 19, 2010, 03:51:44 am »

    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

    • Coppermine newbie
    • Offline Offline
    • Posts: 13
    Re: LightBox Slideshow jquery (NotesFor.net) v3.0
    « Reply #53 on: June 21, 2010, 12:19:10 am »

    Hi,

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

    Joe Carver

    • Dev Team member
    • Coppermine addict
    • ****
    • Country: us
    • Offline Offline
    • Gender: Male
    • Posts: 1545
    • aka 'i-imagine'
      • Home Page
    Re: LightBox Slideshow jquery (NotesFor.net) v3.0
    « Reply #54 on: June 21, 2010, 11:48:59 am »

    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

    • Dev Team member
    • Coppermine addict
    • ****
    • Country: us
    • Offline Offline
    • Gender: Male
    • Posts: 1545
    • aka 'i-imagine'
      • Home Page
    Re: LightBox Slideshow jquery (NotesFor.net) v3.0
    « Reply #55 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 see if the fix in r7701 solves this.

    Joe Carver

    • Dev Team member
    • Coppermine addict
    • ****
    • Country: us
    • Offline Offline
    • Gender: Male
    • Posts: 1545
    • aka 'i-imagine'
      • Home Page
    Re: LightBox Slideshow jquery (NotesFor.net) v3.0
    « Reply #56 on: June 22, 2010, 05:42:47 am »

    Release of Version 3.1

      Changelog
      • Fix bug in counter

      New version attached to first post in thread.

      socomoroco

      • Coppermine newbie
      • Offline Offline
      • Posts: 8
      Re: LightBox Slideshow jquery (NotesFor.net) v3.0
      « Reply #57 on: June 22, 2010, 07:23:47 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
      Logged

      Joachim Müller

      • Dev Team member
      • Coppermine addict
      • ****
      • Offline Offline
      • Gender: Male
      • Posts: 47843
      • aka "GauGau"
        • gaugau.de
      Logged

      socomoroco

      • Coppermine newbie
      • Offline Offline
      • Posts: 8
      Re: LightBox Slideshow jquery (NotesFor.net) v3.0
      « Reply #59 on: June 23, 2010, 06:01:28 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


      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
      Logged
      Pages: 1 2 [3] 4 5 6 7 ... 9   Go Up
       

      Page created in 0.033 seconds with 20 queries.