Advanced search  

News:

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

Pages: 1 ... 17 18 19 20 [21] 22 23 24 25   Go Down

Author Topic: EnlargeIt! (AJAX user interface for CPG 1.4.x)  (Read 305921 times)

0 Members and 1 Guest are viewing this topic.

ngul

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #400 on: July 07, 2009, 08:23:36 pm »

I've installed this great plugin but now don't work Piclens, installed with RSS plugin. There's some hack?

Removed, now work!  8)
Logged

follett

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #401 on: July 19, 2009, 03:59:27 pm »

Timos, is it possible, to add comment windows directly under the picture? ( picture will show up, with comment form below)

It is OK right now, but since I implemented your plugin I got 1 new comment per week :/
Will be easier  if users dont have to click special icons to add comment.
Thanks for help.
Logged

emerz

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #402 on: August 24, 2009, 01:31:38 am »

Is anybody else having problems with EnlargeIt! and "Last Viewed" meta?

View count is working but "Last Viewed" picture dows not update when  EnlargeIt! plugin is enabled.
Logged

emerz

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #403 on: August 24, 2009, 02:24:52 am »

Is anybody else having problems with EnlargeIt! and "Last Viewed" meta?

View count is working but "Last Viewed" picture does not update when EnlargeIt! plugin is enabled.

Found the problem.

enl_cnt.php updates the hit counter but does not update the table "pictures" field "mtime" with current date/time "now()".

Added the statement and now it works great.
Logged

olti

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • Galeria Shqiptare - Albanian Gallery
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #404 on: August 25, 2009, 10:34:22 am »

Is it possible to replace the current pop-up window with this EnlargeIt? I mean to open the photos from each photo url/page and not from album or main site page.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #405 on: August 25, 2009, 06:09:36 pm »

olti is banned because of license breach.
Please ignore his postings.
Logged

tamid

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #406 on: August 27, 2009, 07:57:39 am »

I have installed Slider and EnlargeIt.  For the most part it's working very well.  However, when I click on a picture in the slider bar, I have it open in full size.  If I then hover over the buttons, the tool tips either don't appear or it takes a long time for them to appear.  If I go into one of the albums (currently only have 2 with pictures in them) and click on a photo, the tool tips appear quicker in there, but still not immediately.  The link to my page is http://ravensonline.net/bandphotos/index.php.  I've set up a test user, with both the user name and password being test.

Also, is it be possible to have the album name display in the title bar next to the image name?

Thanks for your help.
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1498
  • aka 'i-imagine'
    • Home Page
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #407 on: August 27, 2009, 01:07:26 pm »

Check your settings for the Slider - your home page has my computer running nearly at 100% cpu load. (windows task manager)

Also you should also look at the file sizes of your images - one that I picked at random was sized at 827.86 KB. That was much larger than the resulting pop-up size and quality justified.

One or both of these fixes will improve things, but you must remember that you can only load a certain level of active js to your visitor's computers before it gets to be too much to bear.

tamid

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #408 on: August 27, 2009, 02:04:22 pm »

i-imagine, thanks for your reply.  However, I don't know what slider settings I would change.  I used the defaults on it.  When I check my cpu load on the first page (after the login) I'm only at 10%.  If I check it when a picture is enlarged, it was at 66%.

The pictures are much larger than the pop-up size.  I have it set to full size, but they are somehow confined to a window that fits the screen, which is actually my preference.  I did not compress the file any before it was uploaded from my digital SLR camera.  This is going to be a site for parents to upload their photos from the various events, and if they have to compress the photos, they won't do it.

Besides the coppermine files, we will have 6 plug-ins running (currently only 5 until we get the email feature to work).  Is that too many?
Logged

Joe Carver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1498
  • aka 'i-imagine'
    • Home Page
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #409 on: August 27, 2009, 06:05:01 pm »

First I must compliment the author - I have just installed this on a test gallery and it is very well done!

I looked in the wrong place as regarding the size of your images. Another random selection gave this as a result...
3456 x 2304 pixels which (in my opinion) is of a size that "asks a lot" to be resized into a viewable window.

Do you have it set to show the Enlarge to pic in as full or intermediate? Are you resizing your images when they are uploaded?

I saw some differences with using various sized images from here, on my test gallery, but on a second visit to your site the tools/menu links came right up with the images from the Slider, within 1/4 second.

If you read the initial post in this thread you will find suggested ways to speed the loading - try those. Beyond that I would also suggest that you encourage your users to try to resize, make sure that you are resizing your intermediates too.

tamid

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #410 on: August 28, 2009, 05:47:45 am »

i-Imagine, I do have the Enlarge to pic in as full.  No, I'm not resizing my pictures.  I probably should, but I know the parents that will be uploading will not be resizing their photos and I was trying to test it out like they would be using it.

Do you know if I can get the album name added in the title bar with the photo name and how I would do it?
Logged

Ivo007

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #411 on: September 08, 2009, 05:31:34 am »

Hi TIme, thanks for that great plug/in.

Would it be possible to add also slideshow functionality to it? Then it would really cover it all.

THanks
ivo
Logged

darkheartagram

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #412 on: September 23, 2009, 10:07:25 pm »

Is there any possibility to change Title of the image ( which is next to navbar ) into category or album the picture is from?
Logged

darkheartagram

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #413 on: October 03, 2009, 01:56:18 pm »

Solution: just change alt section in codebase.php

Next question. How to move title of the image under it ( still in border )
Logged

l810th

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #414 on: October 23, 2009, 11:03:31 am »

Found the problem.

enl_cnt.php updates the hit counter but does not update the table "pictures" field "mtime" with current date/time "now()".

Added the statement and now it works great.

I have the same updating problem while using Enlargeit. Could you expand on the "statement" you used to correct this issue using Enlargeit? I have no coding skills in PHP and have tried to find the equivalent code in Displayimage.php with no success.

Thanking you in anticipation,

Mike.
Logged

x3

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #415 on: October 23, 2009, 07:50:49 pm »

Are there plugins that wouldn't be compatible with EnlargeIt!?

It is because I intalled EnlargeIt, file replacement and CPGMark plugins and the EnlargeIt doesn't work.
 ??? I wonder what's wrong.
Logged

x3

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #416 on: October 24, 2009, 02:22:32 am »

Are there plugins that wouldn't be compatible with EnlargeIt!?

It is because I intalled EnlargeIt, file replacement and CPGMark plugins and the EnlargeIt doesn't work.
 ??? I wonder what's wrong.

SOLVED.


BUT

How can I use the FACEBOOK PLUGIN with EnlargeIt?
Logged

tahuti

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #417 on: October 24, 2009, 08:45:10 am »

ok so i love this plugin so thank you very much for all your time and efforts....

i made a small "hack" mod to two files to allow the same option for comments as the current info button has...

so maybe some people will find this useful if they wish to have the full comments features available until when and if more comment functions are coded into the ajax interface...

long story short this gives you the option to have the comments button take users to the same "intermediate" page that the info button can...thus allowing for the "original" comments routines to be used....so just like the info button you can set the comments button to go to the "intermediate" page instead of the ajax snippet...

FILE codebase.php

FIND:

Code: [Select]
    if ($ENLARGEITSET['enl_buttoncomment'])
    {
      $enlargeit_headcode .= "enl_buttonurl[".$i."] = 'index.php?file=enlargeit/enl_comment&pos=-';
    ";
      $enlargeit_headcode .= "enl_buttontxt[".$i."] = \"".$lang_enlargeit['enl_tooltipcomment']."\";
    ";
      $enlargeit_headcode .= "enl_buttonoff[".$i."] = -64;
    ";
    $i = $i + 1;
    }   

AND REPLACE TO LOOK LIKE THE FOLLOWING:

Code: [Select]
    if ($ENLARGEITSET['enl_buttoncomment'] == 1)
    {
      $enlargeit_headcode .= "enl_buttonurl[".$i."] = 'index.php?file=enlargeit/enl_comment&pos=-';
    ";
      $enlargeit_headcode .= "enl_buttontxt[".$i."] = \"".$lang_enlargeit['enl_tooltipcomment']."\";
    ";
      $enlargeit_headcode .= "enl_buttonoff[".$i."] = -64;
    ";
    $i = $i + 1;
    } 
    if ($ENLARGEITSET['enl_buttoncomment'] == 2)
    {
      $enlargeit_headcode .= "enl_buttonurl[".$i."] = 'site:displayimage.php?pid=';
    ";
      $enlargeit_headcode .= "enl_buttontxt[".$i."] = \"".$lang_enlargeit['enl_tooltipcomment']."\";
    ";
      $enlargeit_headcode .= "enl_buttonoff[".$i."] = -64;
    ";
    $i = $i + 1;
    } 


FILE plugin_config.php

FIND:

Code: [Select]
        <tr>
          <td align="right"><?php echo $lang_enlargeit['enl_buttoncomment']?>&nbsp;&nbsp;</td>
          <td>
              <select name="enl_buttoncomment" id="enl_buttoncomment">
                 <option value="1" <?php if($ENLARGEITSET['enl_buttoncomment'] == 1) echo 'selected="selected"';?>><?php echo $lang_enlargeit['enl_yes']?></option>
                 <option value="0" <?php if($ENLARGEITSET['enl_buttoncomment'] == 0) echo 'selected="selected"';?>><?php echo $lang_enlargeit['enl_no']?></option>
              </select>
          </td>
        </tr>       

AND REPLACE TO LOOK LIKE THE FOLLOWING:

Code: [Select]
        <tr>
          <td align="right"><?php echo $lang_enlargeit['enl_buttoncomment']?>&nbsp;&nbsp;</td>
          <td>
              <select name="enl_buttoncomment" id="enl_buttoncomment">
                 <option value="2" <?php if($ENLARGEITSET['enl_buttoncomment'] == 2) echo 'selected="selected"';?>><?php echo $lang_enlargeit['enl_buttoninfoyes2']?></option>
                 <option value="1" <?php if($ENLARGEITSET['enl_buttoncomment'] == 1) echo 'selected="selected"';?>><?php echo $lang_enlargeit['enl_yes']?></option>
                 <option value="0" <?php if($ENLARGEITSET['enl_buttoncomment'] == 0) echo 'selected="selected"';?>><?php echo $lang_enlargeit['enl_no']?></option>
              </select>
          </td>
        </tr>       

i basically just copied the existing routines for the info button but ported them into a similar working solution for the comments button...

cheers and have fun....
Logged

x3

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #418 on: October 27, 2009, 06:49:34 am »

How to make the File description appear below the picture?
I meant, users don't have to click on the FILE INFORMATION BUTTON so they could see it.

Also, is it possible not to show the DISPLAYED TIMES on the FILE INFORMATION PAGE? :D


 ;)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #419 on: October 27, 2009, 07:26:31 am »

Stop requesting in-deep code modifications for your own use in each and every announcement thread.
Logged
Pages: 1 ... 17 18 19 20 [21] 22 23 24 25   Go Up
 

Page created in 0.025 seconds with 20 queries.