forum.coppermine-gallery.net

Support => cpg1.4 plugins => cpg1.4.x Support => Older/other versions => cpg1.4 plugin contributions => Topic started by: Timos-Welt on June 16, 2008, 06:19:13 pm

Title: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 16, 2008, 06:19:13 pm
What's this?
This plugin replaces the intermediate page with an AJAX gui that is widely configurable. EnlargeIt! turns the whole intermediate page into a Javascript pop up window. It provides one of the fastest possible ways to browse a picture gallery.

This plugin works fine with any graphical web browser (Firefox 1.5 and higher, IE 5.0 and higher, Opera 8 and higher, Safari 3 and higher, Konqueror 3.5 and higher, Google Chrome ...), so you won't lose any visitors because of compatibility issues. Users without a Javascript-capable browser or who have deactivated scripting in their browser can use the gallery as if EnlargeIt! wasn't there at all.

Features
* AJAX buttons for rating, picture info, favorites, comment, full size image, BBcode, eCard, download, histogram
* navigation and close buttons
* navigation with arrow keys or mouse wheel (mouse wheel only with Mozilla & IE)
* five different animation types
* chose animation speed and steps
* select border size, color and shadow
* centering and screen darkening (lightbox alike)
* enlarge to intermediate size or full size pics
* doesn't blow up your page size - only 21 Kbyte of javascript and 1 Kbyte of CSS is added
  Still too big for you? Go to http://enlargeit.timos-welt.de/english/11/building_blocks.php
  and generate your own smaller, personalized version of the Javascript files
* this plugin fully supports the SEF plugin
* support for flash files (SWF)
* support for playback of YouTube movies (needs additional modification, see file youtube_support_mod.txt for detailled instructions)
* support for playback of *.flv files - simply upload them to your CPG and they will play (filetype: *.flv)
* support for playback of *.divx files via DivX Web Player (http://labs.divx.com/WebPlayer) (filteype: *.divx)
* you can configure virtually everything on the config page - though it's not mandatory ;)

Demo gallery
http://cpgdev.timos-welt.de/cpg1416/index.php?theme=water_drop

Note for users of plugins 'ImageFlow' and 'Slider'
New versions of these plugins are included in the ZIP file. Please make sure to update them before you install the EnlargeIt! plugin. The included versions of ImageFlow and Slider are full versions, meaning that it is not neccessary to install previous versions.

How to adapt the optics of the AJAX snippets to my skin?
Modify enl_styles.css to your needs.

Best practices

Install
1. If you use them, uninstall the plugins ImageFlow and Slider and install the included versions.
2. Copy folder enlargeit to your plugins folder.
3. If you want to use the histogram button, make subfolder histcache writable, this usually means CHMOD to 755 or 777.
4. Install via plugin manager. Configure with new admin button EnlargeIt!
5. If you update from a previous version, make sure to always completely uninstall the old version before installing the new one, and empty your browser cache afterwards.

Uninstall
1. Uninstall via plugin manager.
2. If you want to make sure, that noone can upload DIVX or FLV files anymore,
   get Nibbler's file type plugin and remove *.flv and *.divx file types
   (http://forum.coppermine-gallery.net/index.php/topic,24186.msg111120.html)

If it doesn't work

Credits
This plugin uses EnlargeIt! technology - http://enlargeit.timos-welt.de/
This plugin uses some icons from the free icon set 'Silk' - http://www.famfamfam.com/lab/icons/silk/
This plugin uses free FLV player by rphMedia - http://forum.coppermine-gallery.net/index.php/topic,43180.0.html
This plugin uses open source FLV player OSFLV - http://www.osflv.com/
Parts of this plugin are based on various MODs and plugins from the CPG forum by users Nibbler, Sami, rphMedia and others.
The included plugin 'ImageFlow' is based on the script by Finn Rudolph - http://imageflow.finnrudolph.de/
Please note: The author of the Imageflow javascript changed the license of his script with version 1.0, so you have to pay for commercial use now. The plugin included in this release is based on an older Imageflow version (0.9) that is absolutely free, so you may use it wherever you want. Look here (http://finnrudolph.de/Shoutbox/1225723541) for details.

Please don't send any PMs to me regarding this plugin; reply to this thread instead. Thanks!

regards  ;)
Timo

-----
Changes from v2.14:

v2.15 (2009/04/05)
--------------------
- added e-card feature (new button)
- smaller page source code
- greatly improved display of scaled images in IE7 and IE8 if pic is bigger than browser window
- new setting on config page: shadow color (useful for dark themes)
- added download feature (new button)
- better button look in IE6 if white border is used
- new setting on config page: use hourglass mouse cursors
- it is not longer neccessary to copy anything to your gallery root
- histogram files are now cached in a plugin subfolder
- added slovak and czech language files (user contribution)


[Edit GauGau 2010-03-03]
This plugin has been added to the subversion repository: http://coppermine.svn.sourceforge.net/viewvc/coppermine/branches/cpg1.4.x/plugins/enlargeit

It has been updated as well to reflect the version checking routines in the plugin manager that are meant to make sure that galleries don't break because of plugins installed that aren't meant for that particular version of the gallery.

Download: https://sourceforge.net/projects/coppermine/files/Plugins/1.4.x/cpg1.4.x_plugin_enlargeit_v2.16.zip/download
[/Edit]
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on June 17, 2008, 10:55:04 am
Goodmorning Timos,

I took a quick look at your site. Really nice job with this new plugin. I'll get going on translating ;)

Cheers
Hein
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Pascal YAP on June 17, 2008, 12:18:40 pm
Timos,

AWoW  ;D
Pure nice Job, again !
I'll try to translate it too, but in French...

PYAP
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Pascal YAP on June 17, 2008, 07:38:54 pm
Hello Timos,

Here's my French language file.

Unfortunately, there're some issues with this files.... and i do'nt understand why. Maybe accentated characters !
I 'd tried first with UTF-8 encoded without success, and with é style ! again without success !
With my lang file there's no Title Bar, nor Border color...  ???
hmmm....

Other : What about Stats ? There's no count by Pix viewed !

(because i'm sick today, i have no hole in front of my eyes  ;D )

PYAP
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 18, 2008, 12:48:42 pm
At the moment I am thinking of giving up this plug in, because I simply don't know enough about PHP, MySQL and Coppermine to complete it. It takes me forever to do certain things, especially constructing the AJAX snippets out of the complex CPG files.

Dear developers (you're one, too, arent you?): I ask for help.

As an example, to complete the rating system, I'd need a php file that generates something like this:

Code: [Select]
<table cellspacing="1" style="width:100%;height:100%">
        <tr>
                <td class="enl_infotablehead" align="center"><b>Rate this file </b><br /> (current rating : 4 / 5 with 2 votes)</td>
        </tr>
        <tr>
                <td class="enl_infotable" width="100%" align="center"><a href="javascript:;" title="Rubbish" rel="nofollow"><img onclick="enl_ajaxfollow(this);" name="enl_ratepic.php?pic=13&amp;rate=0&amp;enl_img=xxxx" src="images/rating0.gif" border="0" alt="Rubbish" /><br /></a></td>
        </tr>
... (same for better votes)
</table>

Something like this can't be done with a few preg_replace and str_replace out of $vote in displayimage.php, one has to know how coppermine internally builds certain things to get this done, and I simply don't have neither the knowledge nor the time.

The pic counting problem is easy to solve compared to this; regarding the french language file: It should be easy to make this work, too.

I don't think I can get this done alone.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: François Keller on June 18, 2008, 06:32:07 pm
Quote
As an example, to complete the rating system, I'd need a php file that generates something like this:

Code: [Select]

<table cellspacing="1" style="width:100%;height:100%">
        <tr>
                <td class="enl_infotablehead" align="center"><b>Rate this file </b><br /> (current rating : 4 / 5 with 2 votes)</td>
        </tr>
        <tr>
                <td class="enl_infotable" width="100%" align="center"><a href="javascript:;" title="Rubbish" rel="nofollow"><img onclick="enl_ajaxfollow(this);" name="enl_ratepic.php?pic=13&amp;rate=0&amp;enl_img=xxxx" src="images/rating0.gif" border="0" alt="Rubbish" /><br /></a></td>
        </tr>
... (same for better votes)
</table>
do you want to insert this html code into a php file ?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 18, 2008, 10:38:39 pm
No of course not.

I spent another long evening trying to understand what Coppermine does. Just released 0.6 including rating snippets and french language (thx Pascal).
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Pascal YAP on June 19, 2008, 01:41:53 am
Quote
Just released 0.6 including rating snippets and french language (thx Pascal).
ALERT Timos !
Remember, i have some issues with this file.... And i do'nt know why ! Be carrefull with this one  ;)

PYAP
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: François Keller on June 19, 2008, 07:22:53 am
I have a problem with your 0.6 version on my localhost:
install works good, but after validation fronf the config, my apache server crashes  :-\
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 19, 2008, 08:20:29 am
Hi François,

a) do you use mod_php or php as cgi?
b) do you use the sef plugin?

Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 19, 2008, 09:16:42 am
ALERT Timos !
Remember, i have some issues with this file.... And i do'nt know why !
PYAP

I think I've fixed these problems. The only issue that's left is that some browsers don't display special characters or HTML entities correctly in their tooltips; therefore, I'd probably reduce the characters in tooltips to vanilla ASCII if possible. The reason why your file didn't work at all in 0.5 was that french people use the apostroph ' all the time, english and germans don't.

Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: François Keller on June 19, 2008, 10:57:01 am
Hi,
Hi François,

a) do you use mod_php or php as cgi?
I'm using WAMPSERVER and have no special feature
Quote
b) do you use the sef plugin?
No


Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 19, 2008, 11:37:42 am
I can reproduce this in Wampserver on my Vista VM; it crashes httpd.exe in php5ts.dll. I assume it's a bug in their implementation - no php script in the world should be able to crash a web server. Neither the log files nor the event log give any hint what's wrong.

Problemsignatur:
  Problemereignisname:   APPCRASH
  Anwendungsname:   httpd.exe
  Anwendungsversion:   2.2.8.0
  Anwendungszeitstempel:   47904924
  Fehlermodulname:   php5ts.dll
  Fehlermodulversion:   5.2.6.6
  Fehlermodulzeitstempel:   481b8f4b
  Ausnahmecode:   c00000fd
  Ausnahmeoffset:   000c99bc
  Betriebsystemversion:   6.0.6000.2.0.0.256.1
  Gebietsschema-ID:   1031
  Zusatzinformation 1:   3e95
  Zusatzinformation 2:   23e9ff67ae10058d49c12602b109974c
  Zusatzinformation 3:   05c5
  Zusatzinformation 4:   cb8b91e5b6e1e7d74b594a69657a6ad7
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 19, 2008, 06:05:14 pm
Just released v0.7.

* pic views are now counted for gallery statistics.
* added pic title and description to info snippet
* nicer rating snippet
* declared the plugin as beta

regards  ;)
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 21, 2008, 12:58:47 pm
0.8 fixes two ugly bugs, plugin is stable again.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: François Keller on June 21, 2008, 02:07:13 pm
hi,

looking for my problem, it seems that it's fixed if you comment or remove the "exit;" from the plugin_config.php code on line 77

is it normal that the plugin seems not working with the random image block ?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 21, 2008, 02:31:21 pm
Yes of course, by that I want to force people to use Slider or ImageFlow for displaying random images.  ;)

No it's not, thanks for the bug report.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ronronmx on June 21, 2008, 07:37:54 pm
Yes of course, by that I want to force people to use Slider or ImageFlow for displaying random images.  ;)

No it's not, thanks for the bug report.

Hi Timos,
just install this plugin, and wow is it sweet! You did such a great job putting this together! Super easy install and works right out of the box....need i say more?

I do have one little request tho...I know that the WHOLE POINT of this plugin is to completely get rid of the intermediate image and page with the film strip...but I personally like the intermediate page, especially because of the comments users can post.
So, what i would like to do is link the "information" button icon to the intermediate page, instead of the image information. Which file do i need to change in order to do that? Is this something you would consider adding to your next version (eg: the option to choose where the information button icon takes you)?

Again, thx a bunch for such a great plugin!

Stephane
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 21, 2008, 08:12:22 pm
AJAX snippets for comment feature are on the to do list for this plugin.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ronronmx on June 21, 2008, 08:27:32 pm
AJAX snippets for comment feature are on the to do list for this plugin.

Well...i'm in heaven then!  ;)
In the mean time, s it possible to change the info button link to point to the intermediate page?

Thx for your quick reply!
Stephane
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 21, 2008, 10:23:54 pm
Not at the moment.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 24, 2008, 05:22:24 pm
Just released v0.81.

* fixed: random image block on album list page didn't work
* added nicer buttons

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: streetart on June 24, 2008, 07:49:00 pm
Hello

Its a nice plugin. Im new on coppermine and have two questions before I use your plugin.

Is there possible to make the favorite link direkt on the top. Like, when I click on the heart on the demo, than this photo are my favourite, and when a photo is a favourite from me, than there display another icon to remove the photo from the favourite?

And another question. I think is a css question. On the original Lightbox script is, when the lightbox open the background from the site darker? Is that here also possible?

Thx and nice work!


Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 24, 2008, 08:04:59 pm
Is there possible to make the favorite link direkt on the top. Like, when I click on the heart on the demo, than this photo are my favourite, and when a photo is a favourite from me, than there display another icon to remove the photo from the favourite?

And another question. I think is a css question. On the original Lightbox script is, when the lightbox open the background from the site darker? Is that here also possible?

The favorite icon toggles favorites, meaning it switches favorite status on and off. Click it once, and it adds the photo to your favorites. Click it once again, and it removes the photo from your favorites. The icon won't change.

Darkening is possible, turn it on in the plugin settings.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: streetart on June 24, 2008, 08:48:33 pm
Hello

thx is nice. I have tested on my webspace is nice. One other question. I have Images they are dont display with the enlarget..is there a bug or is this my mistake? I dont know why...
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 24, 2008, 08:53:46 pm
Link to your gallery?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: streetart on June 24, 2008, 09:58:46 pm
Ah I found the mistake..the image has a Filename like 12412414.JPG and all images with the .JPG dont are use enlargeit..

Hey is there possible, when I have the enlargeit open and I click on the next button, that dont make a new animation?..only display the next image

sorry for my english
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 24, 2008, 10:08:53 pm
I'm no prophet. I don't do divinations. My profession is not to be a clairvoyant. And believe it or not: I'm not psychic.  ;D

As I already wrote: Post a link to your gallery.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: streetart on June 24, 2008, 10:37:53 pm
Hello

the two question you can forget. i have no link, than i tested offline. I post the link, when the gallery is finishd

hey, how I can change the images? I want the simple Images like the Lightbox 2. I think that with the binact.jpg difficult...is there a simpler way?

thx
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 24, 2008, 11:05:11 pm
To change the buttons, you'll have to edit bact.png and binact.png to your needs. All buttons must be in one file like in the original files. Buttons must be quadratic. The png files must have exact the height of the buttons. If your buttons have a different size than the original ones, you must edit codebase.php and correct the offset values.

The EnlargeIt! plugin is an out-of-the-box product. If it works for you: Fine. If there are bugs, I will try to fix them. But I will not care very much about questions of personal taste. EnlargeIt! is not Lightbox and Lightbox is not EnlargeIt! - if you prefer Lightbox, I recommend to use one of the Lightbox mods that are available in this forum instead of this plugin.

If you like to donate a different button set that better suits your needs: Feel free to attach them to your reply, if I like them I'll add them to the plugin as option. Same rules as above: Quadratic, all in one file, and most important: Your own work or under the GPL license, no stolen graphics please.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 25, 2008, 03:09:43 pm
v0.82 (2008/06/25)
------------------
* preloading finally works, browsing the pics with nav buttons is now much faster
* button image and order improvements
* no enlargeit navigation with imageflow plugin (doesn't make sense there)

Have fun!  ;)
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: streetart on June 25, 2008, 06:27:53 pm
Hello

the preloading is super! thx

I have 20 pictures per page..and when I on the end of the page...they are finished with enlargeit...is there possible do switch on the next page, when enlargeit display the last picture from the page?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 25, 2008, 08:47:23 pm
No, sorry. The javascript part does not know if there are more pictures or not.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 26, 2008, 06:44:50 pm
Released 0.83.
* Added histogram function taken from this mod (experimental):
http://forum.coppermine-gallery.net/index.php/topic,18759.0.html
* Added maximize button to show full size pic if EnlargeIt! is set up to show intermediate pics by default

Developement stops here for this plugin. Language files wanted (currently only english, french and german supported).

Have fun with it as it is!
regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: fjmf on June 30, 2008, 03:03:42 am
I'm trying to figure out how to "hack" the info page to add a bbcode style link (i.e. (http://link)) so I'm guess I would need to start with the enl_info.php page....

Any pointers would be appreciated, thanks
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 30, 2008, 09:30:51 am
How do you do it on the standard intermediate page?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on June 30, 2008, 09:50:08 am
Timos. Dutch lang file attached. Great looking plugin this.

Would it be possible to built something in that allows for the next picture to be loaded into the Enlargeit screen. So you do not have that picture opening/closing action.. Not sure if it can but it would be nice  ;D

Cheers
Hein
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 30, 2008, 01:30:19 pm
I'd suggest to set animation type to "No animation" to get rid of it and set screen darkening to "yes 2" and centering to "yes". Enjoy.

Thanks for the language file, I've added it to the ZIP.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on June 30, 2008, 01:55:47 pm
Thanks Timo! That was a usefull suggestion.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: merlin6666 on June 30, 2008, 08:22:22 pm
Hallo Timo,

e really nice plugin! I am trying to install your plugin in two galeries (www.meyers-web.de and www.schuetzenverein-wulmstorf.de), but it`s only working at your installed slider plugin. In normal galeries unfortunately it doesn`t work, all pictures opened as before. Any idea`s ?

Thanks
merlin6666
 
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 30, 2008, 08:46:35 pm
Hi merlin6666,

thanks for your report. Because of a typo, EnlargeIt! wouldn't work for *.JPG files, only for *.jpg. Fixed with v0.85 (just uploaded). Please update.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 30, 2008, 08:49:26 pm
Karma to Hein fo that beautiful dutch language file!  ;D
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: merlin6666 on June 30, 2008, 09:30:10 pm
Timo, thanks for your quick reply.

I have updated to 0.85
But what i have found out:
1. If i switch SEF to yes, EnlargeIt doesn`t work, the normal coppermine picture opened, with "No" all is working well.
2. If i click a picture from your slider plugin, i missed the navigation buttons though activated.

Regards
merlin6666
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 30, 2008, 09:46:08 pm
If you want to use SEF, you must first install the SEF plugin and have it ready and working fine. After that, you must turn EnlargeIt! SEF support on, and it will work again. Turning it on without the SEF plugin installed will do - nothing.  ;)

I decided against navigation buttons for slider for now, because in bad cases, the slider pic could have scrolled out of the visible area when clicking "next", and the animation looks very bad then and scrollbars would make your browser window ugly for a short moment. It's by design now. Only the static pics can be browsed with the next and previous buttons.

Please avoid Umlaute in file names, they are not valid characters.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: fjmf on July 01, 2008, 07:10:46 am
How do you do it on the standard intermediate page?

(this is all in the enl_info.php page that goes in the root folder of the gallery)

Here is how far I've gotten (please excuse my amateurish php coding I'm a application developer by trade),

after

Code: [Select]
echo $test;

echo "</table>";

I inserted

Code: [Select]
echo "<textarea name=\"bbcode\" cols=\"40\" rows=\"3\" align=\"center\"> [IMG]http://".($_SERVER['SERVER_NAME'])."/gallery/albums/userpics/".  $CURRENT_PIC_DATA['filename'] . "[/IMG] </textarea>";
and to deal with the issue of the information table taking the whole "page" I also edited

Code: [Select]
echo "<table align=\"center\" cellspacing=\"1\" style=\"width:100% height:75%\">";
(I added the height of 75% to give me space for the textarea)

the only problem with that is formating is leaving something to be desired...

Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: merlin6666 on July 01, 2008, 07:17:22 pm
Hi Timo,

i found a bug, picture with an "Umlaut" ä,ö,ü in the name can not be displayed, if enlargeIt is active. Only a small row is visible then, no Photo.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on July 01, 2008, 08:48:37 pm
*sigh* You're right, coppermine supports uploading of pics with 'umlauts' (äöüß), so EnlargeIt! has to, too. Please update to v0.86. Fixed.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: merlin6666 on July 02, 2008, 02:26:53 pm
Hi Timo,

yep, "umlauts" are solved :-)

Another Thing:
For me and maybe some others, it would be helpful to activate (as option) the arrow keys left/right at the keyboard for an additional navigation, if the EnlargeIt window is open.... How about this?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on July 02, 2008, 06:16:36 pm
I don't think that this is possible. You can enlarge more than one pic at a time if you don't use darkening. If I integrated a key listener, which of the enlarged pics should be the one that moves on to the next picture?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: joginvik on July 07, 2008, 10:46:45 pm
some abracadabra on voting page, show info and so on
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on July 07, 2008, 11:01:10 pm
Go, code it.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: joginvik on July 07, 2008, 11:11:37 pm
look - http://www.etennis.mobitek.biz/cpg1416/index.php?cat=3
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on July 07, 2008, 11:33:42 pm
1. Please update your gallery to 1.4.18 right now.
2. There seem to be charset encoding problems, at least when I look at your gallery in german.
3. You have extremely long file names and very small pic sizes, that's not ideal for EnlargeIt!.

But what of all this is your question? "some abracadabra on voting page, show info and so on" is no bug report nor a feature request.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: joginvik on July 08, 2008, 11:24:31 am
I have 1.4.18 now, but problem with encoding still exist

Help me please
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on July 10, 2008, 05:38:20 pm
Hi joginvik,

I have no solution, sorry. Seems to be some kind of encoding problem, but don't ask me why. The EnlargeIt! AJAX snippets use the character encoding of the parent page.

Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on July 10, 2008, 05:39:32 pm
New version 0.87. Please make sure to update the Imageflow and Slider plugins to the included versions, too, if you use them.


v0.87 (2008/07/10)
------------------
changed onclick to onmousedown (faster reaction)
new versions of ImageFlow and Slider plugins (update required for 0.87!)
magnifying glass mouse cursor
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Pascal YAP on July 10, 2008, 10:51:51 pm
Hello Timos-Welt,

about SLIDER :
I notice there's no "scroll stop" on MouseOver !
It would be nice to keep this feature.

Also, maybe nice to add custom CSS.

PYAP
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on July 11, 2008, 08:24:00 pm
Hi Pascal,

there's a good reason why I deactivated this. To get the EnlargeIt! animation as smooth as possible even on slow computers, the slider stops during it and starts again after it. Using mouseover stopping at the same time would mean too many start/stop signals, ending in a confusion, so I wouldn't have control when the slider is running or not.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: streetart on July 17, 2008, 08:03:41 pm
hey

a stupid question..but I need that...is that possible to play flv videos on the enlargeit?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on July 20, 2008, 11:09:19 pm
No.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: merlin6666 on July 23, 2008, 11:58:20 am
Hi Timo,

i have made a new Coppermine 1.4.18 installation integrated EnlargeIt 0.88 and Slider 2.07 (btw. both shows wrong versions (0.87/2.05) in the Plugin Manager)
If there is no picture in the gallery and after clicking some menu items the Browser is loading and loading...but shows no error message only the sandglass.   
Also it`s not possible to logout then.
Same happened if i have created a new category without pictures in an excisting gallery . If i click the new category button it crashed, no reaction of the browser.

I have wait for a long time, then sometimes it`s possible again to load the mainpage.

To get it back to normal work, it`s needed to e.g. delete the Slider folder via ftp in Plugins or to remove "slider" in config -> content of the main page.

I don`t know if this only happened at my server or if it`s a general problem.....
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on July 23, 2008, 12:13:22 pm
I can reproduce this here and will have a look into it soon. Thanks for your report.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on July 26, 2008, 03:38:28 am
Bug in Slider plugin fixed. EnlargeIt! v0.881 includes Slider 2.08.

Slider 2.08 changes:
- Slider plugin won't lock webserver anymore with empty categories

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: darkpollo on July 26, 2008, 08:57:19 pm
i cannot make it work.
The only thing that works in my page is the imageflow plugin.
The Slider shows a blank slide and the Enlargeit does not work.

Thanks. It is a great plugin anyway.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on July 26, 2008, 09:34:19 pm
Link to your gallery?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: darkpollo on July 26, 2008, 10:43:22 pm
Sorry, i was testong a little more and nothing.
www.todo-motos.es/galeria/

I have a lot of albums empty as i am setting up the web now. Could be that the problem?
Thanks
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on July 26, 2008, 10:49:37 pm
When trying to load
http://todo-motos.es/galeria/plugins/enlargeit/js/enlargeit.js
I get a 403 error message. So does the visitor, and that's why EnlargeIt! doesn't work.

Either there's something wrong with your webserver, or you didn't upload the whole plugin including subfolders.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: darkpollo on July 27, 2008, 01:06:55 am
I feel so stupid. :P

All the files inside the slider and enlargeit has set to 600 and folders to 700, so it was imposible to work. :D
Fixed now...


¿A question: could put the slider on the top of my web page?
¿Is there any code or any where to look how to make it?
Thanks!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: hoinar on July 28, 2008, 02:04:25 pm
Great work, mate ! I like a lot this little plugin  ;)

"Small" request... would it be possible to display also the caption (i.e. description) of the image together with the title (which is already there) under it or, better, under the image itself ? I guess it would be nice to configure this in the admin area with yes / no... if is not too much work for you...

Thanks !
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on July 28, 2008, 04:33:17 pm
hoinar wrote:
> would it be possible to display also the caption (i.e. description)
> of the image together with the title (which is already there) under
> it or, better, under the image itself

The caption is already visible if a pic has one and the visitor clicks on the 'i' symbol (to show the information ajax snippet). I don't plan to add it as a subtitle to the picture.

darkpollo wrote:
> could put the slider on the top of my web page
No.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: SvenM on July 29, 2008, 04:16:00 pm
I like it a lot! tnx for all the hard work. Looking forward to the comment ajax.

It has been brought to my attention that there is a small problem with listboxes showing through the ajax overlay (the people telling me this are all ie6 users, probably that's where the problem lies...). Not looking for a solution (I couldn't care less, it doesn't show in FireFox so I'm happy  ;D ), just letting you know  :)

I also found a small translation error in the dutch locale: "Historie" should be translated as "Histogram" (historie is a literal translation of history, but in this case it should be called histogram). Maybe something to change for a later release?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on July 29, 2008, 04:43:10 pm
Thanks, I know about the IE6 problem, but it doesn't affect usability at all and is just a display bug, and IE 6 is a dying browser, so I won't code a work around for that - the Javascript part currently is 15 Kb and I don't want it to be bigger without getting additional really useful functionality.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jdsmith on July 30, 2008, 07:10:02 pm
Thanks for the work - it is appreciated.

two questions:
1) Once a visitor has rated an image, is there any way they can change their rating?  I can't find a way.
2) At the beginning of this thread you mentioned working on a comments feature.  Was that abandoned or am I missing it?  That was a feature  I really needed.

Thanks again.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on July 30, 2008, 07:18:40 pm
1) Once a visitor has rated an image, is there any way they can change their rating?  I can't find a way.
That's not a feature of coppermine, so it can hardly be a feature of a visualization plugin.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jdsmith on July 30, 2008, 07:43:32 pm
Sorry - I never noticed you couldn't do that before.  I guess its not that big a deal since no ones ever complained to me.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on July 31, 2008, 09:18:51 am
It's not very difficult to code the comment ajax snippet, but it's very difficult for me to keep it compatible with the Captcha plugin, and I think that's really important. It's summer in germany, and I can think of nicer things than spending a week or two in front of my PC to understand Captcha and then find out that it won't work with EnlargeIt! or has to be modified. You'll have to wait untill I'm really really bored, or until one of the developers decides to help me.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jdsmith on July 31, 2008, 04:27:26 pm
I understand - its summer here in Mississippi, USA too and its hard to sit inside too long.  I've been chasing this "highslide-type" interface forever it seems.  Found one that does everything including ratings and comments, but doesn't use a database so client loses everything when they leave the site (its set up to email the owner a list of image selections, ratings and comments). Others don't allow multiple images to be open at the same time.  Yours is perfect except I can't get to the comments.  The search goes on...  Anyway, thanks for all you did to get it this far.  I'll check back occasionally to see if you have revisited it.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Davide Renda on August 03, 2008, 10:39:42 pm
Italian translation added. Nice work, pal!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: freeedy on August 07, 2008, 02:54:30 am
Hi I was wondering if this plugin will have the slideshow feature?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: paquito on August 17, 2008, 06:40:52 pm
Amazing plugin!

Is there any ability to load flash files?

I'm a photo-retoucher. Rather than displaying my work as a side-by-side comparison of before/after, I'd like to display the retouched image and reveal the original on mouseOver.

If I can't load flash, is there any way to attach javascript to particular files?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 19, 2008, 10:56:01 am
Thanks for the italian translation, it will be included in the next release.

Slideshow feature: I don't think it makes sense with Coppermine. EnlargeIt! only knows about the pics on the current page, so a slideshow would never present the whole album if it's more than one page of pics.

Flash files: I'll try. Please mail me some flash files for testing purposes to enlargeit at timos-welt.de. Thanks!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: knaphih on August 23, 2008, 05:50:56 am
for me its working fine....but the problem is wen i click full size its not displaying the actual full size of the photos....instead its displaying a little larger version of the intermediate image on EnlargIt! ........  Is there any way to fix this?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 23, 2008, 12:20:08 pm
So here's my to-do list of new features for 2.0:

- add slideshow feature for pics on the current page
- add alternative fullscreen view feature
- add alternative info button functionality to go to intermediate page (like highslide plugin)
- add key listener to be able to use arrow keys to navigate
- add mouse listener to be able to use mousewheel to navigate
(- add comment AJAX snippet - can't promise this)

Any more requests?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 24, 2008, 12:30:49 pm
Just released v2.0 beta 1.

Changes:
---------
- new option for info button to directly go to intermediate page
=> now functional 100% replacement for Highslide plugin

- added italian translation (user contribution)

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Farnsi on August 24, 2008, 11:21:20 pm
Thank you Timo! Really really nice. Right now i only use the latest versions of imageflow and slider without the EnlargeIt function because of the missing commentfunction of that plugin. (I hope my following question is placed in the right thread)

anyways, while waiting for a version where the commentfunction is included, i have a little question for you.
before using your great contributions i modified my index.php to show the randompics only on the mainpage. now i would like to work sth. out like that.

my plan (and sadly i don't know the way):
imageflow only on the mainpage
slider on the other pages but not on the mainpage

is there by any chance the possibility that there is an easy way like this one for the "original" metalbums (?):
http://coppermine-gallery.net/forum/index.php?topic=37830.0

Danke Dir schon mal im voraus! / Thanks in advance!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 25, 2008, 05:20:21 pm
Just released v2.0 beta 2.

Changes:
---------
- new option for maximize button: use popup window instead of max to viewport
(should cure request of user knaphih)

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 25, 2008, 05:30:44 pm
@ Farnsi: No idea.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 25, 2008, 07:15:05 pm
This one was easier than I thought, so here's another beta for today:

Just released v2.0 beta 3.

Changes:
---------
- added key listener - you can use arrow keys for navigation now
- improved maximize pop up now using CPG core script function


Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on August 26, 2008, 07:03:58 am
Goodmorning Timos. The key listener is a very good thing to have with EnlargeIt. It makes watching the photos very very easy compared to using the mouse. Nice work!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 26, 2008, 06:23:03 pm
Just released v2.0 beta 4.

Changes since v0.881:
----------------------
- new option for info button to directly go to intermediate page => now functional 100% replacement for Highslide plugin
- new option for maximize button: use popup window instead of 'max to viewport'
- added key listener - you can use arrow keys for navigation now and Esc key to close
- nicer darkening fade, new option 'darkening steps' on config page
- optimized and more intuitive mouse cursors
- drag & drop can be deactivated on config page
- nicer default settings
- added italian translation (user contribution)

Please note:
If you update from a previous version (or beta version), make sure that you uninstall the plugin in CPG plugin manager and re-install it after the update to make the plugin work correctly.

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Farnsi on August 26, 2008, 09:48:34 pm
I installed your latest beta (the way you told us to) and sadly this function does not work at all:

- nicer darkening fade, new option 'darkening steps' on config page

there is no more darkening of the background and therefore no darkening steps.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 26, 2008, 09:54:04 pm
- Make sure to empty your browser cache.
- Make sure you uninstalled EnlargeIt! and installed it freshly after the update?
- Post a link to your gallery.
- Does it work here for you? http://cpgdev.timos-welt.de/cpg1416/

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Farnsi on August 26, 2008, 10:53:22 pm
Hallo Timo,

1) done
2) done
3) Link (manually updated Gallery, from *.18 to *.19; real update follows the next days)
4) yes it does
5) same missing feature while using FF and IE7

Thank you!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 26, 2008, 11:10:38 pm
Thanks a lot for your bug report, the new darkening fade seems to work only for glide animations ATM. I'll fix this with the next beta version.

PS: Tolle Bilder, hatte gerade viel Spaß auf deiner Seite. :)
(great pictures, had a lot of fun on his site)

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Farnsi on August 27, 2008, 01:30:53 am
Thank you and you're welcome.  :)

While browsing through my gallery and missing the darkening fade  ;)  i got this idea:
Why not keeping the background darkened while browsing through the pictures? Might be a feature that could be chosen optional e.g.
Just an idea that poped up..  :)

i really love this plugin! but i think it is a little sad that the comment feature "has to take a seat in the background". You can't see if and when, how many comments have been written. i know, you are planning to work sth. out, a AJAX-snippet for commenting but what about having an optional infotext which shows if comments have been written (styled like a picturename or sth. like that).
i know, probably this is going too far but it was just another idea that poped up.. let's say a little brainstorming.. :)

anyways, thanks again for your outstanding work!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 27, 2008, 08:31:15 am

>Why not keeping the background darkened while browsing through the pictures?

This option is already there (set darkening mode "yes 2"), but not very performant in IE. :( The effect is much less disturbing on dark skins, see for example http://pics.timos-welt.de .

>You can't see if and when, how many comments have been written.

I'll start with the comment snippet soon.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 27, 2008, 04:14:24 pm
Just released v2.0 beta 5.

Changes since beta 4:
----------------------
- new feature: mouse wheel support for navigating
- fixed: nicer darkening fade worked only with glide animations
- fixed: Imageflow would generate invalid XHTML if not enough pics in a category
- added: Imageflow french language file (user contribution)

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 28, 2008, 06:46:53 pm
Just released v2.0 beta 6.

Changes since beta 5:
----------------------
- changed the way views are counted and enl_cnt.php
- fixed few minor JS bugs for improved browser compatibility

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: darkpollo on August 29, 2008, 09:58:11 am
Hi.
I have got some YouTube videos in my gallery. I modify some files to make them work, but know, when i use your plugin, it only shows the small picture and not the video.

Do you know how to fix it? Or, if not...
Could i disable your plugin in the videos album?

Thanks!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on August 29, 2008, 12:48:00 pm
Just a word of appreciation Timos ;) I have to update my EnlargeIt installation several times now in the past days. Good work!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 29, 2008, 04:22:35 pm
@Hein: Thanks! :)
@darkpollo: Coppermine can display YouTube videos? I didn't know that. Tell me more about it and how it's realized, I'll see what I can do.

Just released v2.0 beta 7.

Changes since beta 6:
----------------------
- Experimental support for display of swf (shockwave flash) files
The script checks if flash plugin is installed, then the swf file gets displayed, the view gets counted, and screen darkening works. It's rudimentary yet, but it's better than nothing.
=> demo at http://cpgdev.timos-welt.de/cpg1416/thumbnails.php?album=lastup&cat=0

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on August 29, 2008, 04:50:54 pm
Very promising Timos. Going to include things such as avi movies as wel?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 29, 2008, 05:11:16 pm
I don't think so.

Not a single one of the AVI examples in the demo gallery works for me, even the Windows Media one doesn't (on a Windows PC! with Firefox 2). Many people use players with built in codecs today (VLC...) so codecs are missing; many don't install the neccessary browser plugins; in the end, support of video formats seems to be just wasted time, creating a black hole of support.

Flash/SWF is an exception and has been requested quite a few times by users of the stand alone version of EnlargeIt!, but only because of the popularity of YouTube and its clones; I don't think there are many PCs out there without flash capability. But it's funny: EnlargeIt! was originally written to avoid the need of flash... ;)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: darkpollo on August 29, 2008, 05:54:52 pm

@darkpollo: Coppermine can display YouTube videos? I didn't know that. Tell me more about it and how it's realized, I'll see what I can do.


I am updating now to the 2.0 beta version. It is great! Thanks again.

Well, about the you tube videos, it is very easy to mod some files to display YouTube videos on Coppermine.
Here is the link to the mod forum topic (http://forum.coppermine-gallery.net/index.php/topic,37962.0.html). You can check there wath files i have modified and to know if you can make something with it.

The other option is the possibility of disable the EnlargeIt! Plugin to some of the albums in the gallery. I have all the videos in the same album.

Thank you again.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: darkpollo on August 29, 2008, 06:31:02 pm
More about youtube mod.

You can check how it works here:
http://www.todo-motos.es/galeria/displayimage.php?pos=-653

And see what happens with the enlargeit plugin:
http://www.todo-motos.es/galeria/thumbnails.php?album=1
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 29, 2008, 07:50:15 pm
Open the codebase.php of EnlargeIt!

Find this line:

Code: [Select]
if( $enl_filetype[1] == 'jpg' || $enl_filetype[1] == 'jpeg' || $enl_filetype[1] == 'jpe'|| $enl_filetype[1] == 'png'|| $enl_filetype[1] == 'gif'|| $enl_filetype[1] == 'bmp'|| $enl_filetype[1] == 'jpc' || $enl_filetype[1] == 'jp2' || $enl_filetype[1] == 'jpx' || $enl_filetype[1] == 'jb2'|| $enl_filetype[1] == 'swc' || $enl_filetype[1] == 'JPG' || $enl_filetype[1] == 'JPEG' || $enl_filetype[1] == 'JPE' || $enl_filetype[1] == 'PNG' || $enl_filetype[1] == 'GIF' || $enl_filetype[1] == 'BMP' || $enl_filetype[1] == 'JPC' || $enl_filetype[1] == 'JP2' || $enl_filetype[1] == 'JPX' || $enl_filetype[1] == 'SWC' || $enl_filetype[1] == 'swf' || $enl_filetype[1] == 'SWF' || $enl_filetype[1] == 'Swf')
(gee, didn't know that is has become that long hehe) and change to

Code: [Select]
if (($enl_filetype[1] == 'jpg' || $enl_filetype[1] == 'jpeg' || $enl_filetype[1] == 'jpe'|| $enl_filetype[1] == 'png'|| $enl_filetype[1] == 'gif'|| $enl_filetype[1] == 'bmp'|| $enl_filetype[1] == 'jpc' || $enl_filetype[1] == 'jp2' || $enl_filetype[1] == 'jpx' || $enl_filetype[1] == 'jb2'|| $enl_filetype[1] == 'swc' || $enl_filetype[1] == 'JPG' || $enl_filetype[1] == 'JPEG' || $enl_filetype[1] == 'JPE' || $enl_filetype[1] == 'PNG' || $enl_filetype[1] == 'GIF' || $enl_filetype[1] == 'BMP' || $enl_filetype[1] == 'JPC' || $enl_filetype[1] == 'JP2' || $enl_filetype[1] == 'JPX' || $enl_filetype[1] == 'SWC' || $enl_filetype[1] == 'swf' || $enl_filetype[1] == 'SWF' || $enl_filetype[1] == 'Swf') && !(preg_match('/^youtube_(.*)\.jpg$/', $match[6])))
This way your videos should work as before.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: darkpollo on August 29, 2008, 08:43:51 pm
That is a fast answer!!
Going to test it right now! :D
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: darkpollo on August 29, 2008, 08:48:07 pm
Perfect!
Thank you very much!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: rctruckz on August 31, 2008, 01:38:19 am
hiya :)

great plugin, thanks! :)

but just 1 question.. ive installed it & it works great, but just above my albums on the home page theres a message in red that says

"This is sample data returned from plugin ""."

& it stays there, any ideas :-) ?

Thanks again
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: rctruckz on August 31, 2008, 01:39:17 am
oops! ..heres my url so you can see :)

http://www.jinnycrew.co.uk/rc/gallery/index.php
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Nibbler on August 31, 2008, 01:51:48 am
Uninstall the sample plugin.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: rctruckz on August 31, 2008, 03:40:44 am
ahhh! :)

thanks alot :)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: streetart on August 31, 2008, 01:12:44 pm
hello timos welt

on the demo with the swf files there have no topbar with the icons (favorite, info, rate etc)

is there always so, or only on the demo? i need the icons
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on August 31, 2008, 02:17:30 pm
Quote
- Experimental support for display of swf (shockwave flash) files
The script checks if flash plugin is installed, then the swf file gets displayed, the view gets counted, and screen darkening works.
It's rudimentary yet, but it's better than nothing.

Get yourself a dictionary and check for the words "experimental" and "rudimentary".
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: killevette on September 01, 2008, 06:13:27 pm
can this be used on a page that is not coppermine?  such as a front page.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Farnsi on September 01, 2008, 11:32:47 pm
Hallo Timo,

I have a little suggestion, in the original coppermine gallery the admin views don't get counted but your plugin does count those views. Could you change that to the original way?

Viele Grüße ! / Greetings !


can this be used on a page that is not coppermine?  such as a front page.

basically this is a plugin for cpg. i don't know if timo has something his sleeve.
for homepages you could use the lightbox-script for example (just search for lightbox in google).
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: killevette on September 02, 2008, 02:46:55 am
thanks....can the lightbox pull the images from coppermine?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Farnsi on September 02, 2008, 07:48:09 am
this is not related to this plugin. please start a new thread in the right place.  :)
(look for cpmfetch: http://forum.coppermine-gallery.net/index.php/board,57.0.html)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 04, 2008, 08:56:21 am
Hallo Timo,

I have a little suggestion, in the original coppermine gallery the admin views don't get counted but your plugin does count those views. Could you change that to the original way?

Will be changed with next beta version. I'm just fixing a few Javascript bugs, so please have a little patience.

Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Farnsi on September 04, 2008, 09:07:38 pm
Take your time Timo, no problem. This was just something i noticed.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 07, 2008, 10:59:35 am
Just released v2.0 beta 8.

Changes since beta 7:
---------------------

- flash files now unload correctly in IE
- fixed: pic views are not counted in admin mode anymore
- fixed: plugin didn't work correctly when set title bar to no
- tested to work fine with google chrome beta

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on September 07, 2008, 12:26:10 pm
Again, great plugin Timos.

One little thing to fix.. configuration file says "$version='2.0beta7';"

Cheers
Hein

p.s. added updated dutch.php file
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 07, 2008, 05:43:18 pm
Thanks I've changed the version number in the archive, please re-download. Language file will go into next beta.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 10, 2008, 10:15:15 pm
Just released v2.0 beta 9.

Changes since beta 8:
---------------------

- improved dutch language file (thanks Hein)
- very first experimental version of a comment AJAX snippet

Please note regarding the comment AJAX snippet: No smileys yet, no edit button yet, no report to admin button yet, posted comments will be redirected to the intermediate page, layout is taken from CPG theme instead of enl_styles.css, no Captcha support yet. This feature is simply NOT ready for productive usage. I was begged a lot to release this by some users, because they really really want this and need this - see if you can live with it as it is, and please report in this thread if it works for you. I simply don't know when I'll have the time to complete it. Therefore I recommend to not upload enl_comment.php and enl_addcomment.php to your server, and leave the setting for comment button set to 'No'. Thanks for understanding.

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 11, 2008, 05:16:25 pm
Just released v2.0 beta 10.

Changes since beta 9:
---------------------

- changed onmousedown back to onclick (better compatibility with several exotic / older browsers)
- removed unused redundant stuff from enl_addcomment.php
- removed unused graphic files from js directory
- fixed a bug in slider plugin that lead to invalid XHTML (double IDs) if not enough pics available, new slider plugin version is 2.09
- comment function is now turned off by default, because it's still alpha

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: streetart on September 13, 2008, 09:24:43 am
can the comment function display the avatar beside the comment with a link to the profile?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 13, 2008, 08:17:31 pm
Don't know - go try.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: streetart on September 13, 2008, 08:37:58 pm
no..there is no avatar

I have a mistake when I write a comment, they skip on the normal view page...(displayimage.php) without the enlargeit...
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 13, 2008, 09:22:32 pm
http://forum.coppermine-gallery.net/index.php/topic,53290.msg268440.html#msg268440

please learn to read before posting. thanks!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ronronmx on September 13, 2008, 09:26:27 pm
Hi Timos!
I have been using your plugin for a while now and I love it! I have a problem with the latest version tho!

Here's a link to the gallery: http://stephanroncada.com/cpg/index.php (http://stephanroncada.com/cpg/index.php)

I just upgraded cpg to 1.4.19 and did a fresh install of the Enlargeit plugin, as well as the slider and image flow plugins.
I have a problem with Enlargeit tho, it only works with the slider and image flow pictures, but not on the other ones, they still take me to the intermediate page. I have set the options below:

Enable EnlargeIt! in admin mode    - Yes   
Enable EnlargeIt! for registered users   - Yes   
Enable EnlargeIt! for guests     - Yes

But still no enlargeit on my regular album thumbs. I should mention that I'm using a custom theme and my gallery is bridged with Joomla 1.5.6 using Medhi's bridge. Do you have any idea what I'm doing wrong? Thx a lot for your time and hard work!

Stephane
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 13, 2008, 10:43:08 pm
I have no idea, but here's why it doesn't work:

EnlargeIt looks for a certain pattern via regular expression, and that's

Code: [Select]
#<!-- BEGIN enlargeit -->\s*<a\s*onclick=\"\"\s*href=\"displayimage.php\?(.*)\">\s*<img\s*src=\"(.*?)thumb_(.*?)\"\s*.*\s*width=\"(.*)\"\s*height=\"(.*)\"\s*border=\".*\"\s*.*\s*alt=\"(.*?)\"\s*title=\".*\n.*\n.*\n.*?\"\s*/><br /></a><!-- END enlargeit -->#i
Here's what is found in your html:

Code: [Select]
<!-- BEGIN enlargeit --><a onclick="" href="displayimage.php?album=random&amp;cat=5&amp;pos=-117"><img src="albums/userpics/10002/5/thumb_laughlin_sunday_448.jpg" class="image"  height="80" border="0" alt="laughlin_sunday_448.jpg" title="Dateiname : laughlin_sunday_448.jpg
Dateigröße : 124KB
Abmessungen : 800x533
hinzugefügt am : 26.Juni 2008"/><br /></a><!-- END enlargeit -->

The attribute width of the thumbnail picture is missing in your HTML, so EnlargeIt won't find any matches. Either modify your html, or modify the regular expression.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ronronmx on September 14, 2008, 01:07:20 am
I have no idea, but here's why it doesn't work:

EnlargeIt looks for a certain pattern via regular expression, and that's

Code: [Select]
#<!-- BEGIN enlargeit -->\s*<a\s*onclick=\"\"\s*href=\"displayimage.php\?(.*)\">\s*<img\s*src=\"(.*?)thumb_(.*?)\"\s*.*\s*width=\"(.*)\"\s*height=\"(.*)\"\s*border=\".*\"\s*.*\s*alt=\"(.*?)\"\s*title=\".*\n.*\n.*\n.*?\"\s*/><br /></a><!-- END enlargeit -->#i
Here's what is found in your html:

Code: [Select]
<!-- BEGIN enlargeit --><a onclick="" href="displayimage.php?album=random&amp;cat=5&amp;pos=-117"><img src="albums/userpics/10002/5/thumb_laughlin_sunday_448.jpg" class="image"  height="80" border="0" alt="laughlin_sunday_448.jpg" title="Dateiname : laughlin_sunday_448.jpg
Dateigröße : 124KB
Abmessungen : 800x533
hinzugefügt am : 26.Juni 2008"/><br /></a><!-- END enlargeit -->

The attribute width of the thumbnail picture is missing in your HTML, so EnlargeIt won't find any matches. Either modify your html, or modify the regular expression.

regards
Timo

Timos,
thx a lot for such a quick reply! The attribute width of the thumbnail picture is missing because I am using "Height" for the "Use dimension ( width or height or Max aspect for thumbnail )" option, instead of using "Width" or "Max Aspect". Can I change the regular expression to look for thumb height instead of thumb width, and if yes, where do I find and modify this expression?

Thx a lot for your time...
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 14, 2008, 07:31:55 pm
You'll find it in codebase.php.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ronronmx on September 15, 2008, 07:58:47 am
You'll find it in codebase.php.

Timos, sorry to bug you again but I found the lines I need to change in codebase.php but I'm not sure what to change exactly. Here's what I'm looking at:

Code: [Select]
at line 329:
// get search string depending on SEF or not
  if (!$ENLARGEITSET['enl_sefmode']) $ausdruck = "#<!-- BEGIN enlargeit -->\s*<a\s*onclick=\"\"\s*href=\"displayimage.php\?(.*)\">\s*<img\s*src=\"(.*?)thumb_(.*?)\"\s*.*\s*width=\"(.*)\"\s*height=\"(.*)\"\s*border=\".*\"\s*.*\s*alt=\"(.*?)\"\s*title=\".*\n.*\n.*\n.*?\"\s*/><br /></a><!-- END enlargeit -->#i";
  else $ausdruck = "#<!-- BEGIN enlargeit -->\s*<a\s*onclick=\"\"\s*href=\"displayimage-(.*)\.html\">\s*<img\s*src=\"(.*?)thumb_(.*?)\"\s*.*\s*width=\"(.*)\"\s*height=\"(.*)\"\s*border=\".*\"\s*.*\s*alt=\"(.*?)\"\s*title=\".*\n.*\n.*\n.*?\"\s*/><br /></a><!-- END enlargeit -->#i";

Are those the right lines I need to change? ( width=\"(.*)\"\s*height=\"(.*)\"\s ? ) and if yes, what am I supposed to change them to?
The other lines I found are:

Code: [Select]
at line 277:
<!-- BEGIN thumb_cell -->
        <td valign="top" class="thumbnails" width ="{CELL_WIDTH}" align="center">

and:

Code: [Select]
at line 404:
$neu_str .= '" border="0" width="'.$match[4].'" height="'.$match[5].'" name="'.$CURRENT_PIC_DATA['pid'].'" class="enlargeimg" onclick="enlarge(this);" alt="'.$CURRENT_PIC_DATA['title'].'" id="enl'.$i.'" title="" /><br /></a>';

Again sorry to bug you but I tried a few things and couldn't get it to work so far. If you could help me out with this I would really appreciate it, but if not I understand n/p!
Thx for your time  :)

Stephane
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 15, 2008, 11:48:34 am
Yes that's the right place. I'm afraid I'm not an expert in regular expressions, either - it took me many hours to get this one working. You'll find many tutorials on the web.

I'd start with this:

Change
Code: [Select]
if (!$ENLARGEITSET['enl_sefmode']) $ausdruck = "#<!-- BEGIN enlargeit -->\s*<a\s*onclick=\"\"\s*href=\"displayimage.php\?(.*)\">\s*<img\s*src=\"(.*?)thumb_(.*?)\"\s*.*\s*width=\"(.*)\"\s*height=\"(.*)\"\s*border=\".*\"\s*.*\s*alt=\"(.*?)\"\s*title=\".*\n.*\n.*\n.*?\"\s*/><br /></a><!-- END enlargeit -->#i";to
Code: [Select]
if (!$ENLARGEITSET['enl_sefmode']) $ausdruck = "#<!-- BEGIN enlargeit -->\s*<a\s*onclick=\"\"\s*href=\"displayimage.php\?(.*)\">\s*<img\s*src=\"(.*?)thumb_(.*?)\"\s*.*\s*height=\"(.*)\"\s*border=\".*\"\s*.*\s*alt=\"(.*?)\"\s*title=\".*\n.*\n.*\n.*?\"\s*/><br /></a><!-- END enlargeit -->#i";and
Code: [Select]
$neu_str .= '" border="0" width="'.$match[4].'" height="'.$match[5].'" name="'.$CURRENT_PIC_DATA['pid'].'" class="enlargeimg" onclick="enlarge(this);" alt="'.$CURRENT_PIC_DATA['title'].'" id="enl'.$i.'" title="" /><br /></a>';to
Code: [Select]
$neu_str .= '" border="0" height="'.$match[4].'" name="'.$CURRENT_PIC_DATA['pid'].'" class="enlargeimg" onclick="enlarge(this);" alt="'.$CURRENT_PIC_DATA['title'].'" id="enl'.$i.'" title="" /><br /></a>';
No idea if this works, please try out.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 15, 2008, 07:10:09 pm
Just released v2.0 beta 11.

Changes since beta 10:
---------------------
- fixed a bug in ImageFlow plugin (ugly selections with firefox 3)


Seems that Firefox 3 has a new feature to select/highlight multiple parts of a web page at once. Had to update the imageflow*.js files accordingly.

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Lolik on September 15, 2008, 09:49:27 pm
Timos,

in codebase.php you use
Code: [Select]
$enl_path = 'albums/'.number of times, which assumes standard location of images.

Correct way would be
Code: [Select]
$enl_path = $CONFIG['fullpath'].

At the same time, I can't it work at one of the galleries: http://images.plast.org.ua/thumbnails.php?album=77. Any idea why? It uses a trick with domain alias and RewriteRule, thought everything else works fine
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 15, 2008, 10:10:29 pm
AFAIK ./albums/ is the standard location for the pic files?

Your thumb images have no height, that's the reason why EnlargeIt! doesn't find any matches.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ronronmx on September 16, 2008, 01:02:30 am
Yes that's the right place. I'm afraid I'm not an expert in regular expressions, either - it took me many hours to get this one working. You'll find many tutorials on the web.

I'd start with this:

Change
Code: [Select]
if (!$ENLARGEITSET['enl_sefmode']) $ausdruck = "#<!-- BEGIN enlargeit -->\s*<a\s*onclick=\"\"\s*href=\"displayimage.php\?(.*)\">\s*<img\s*src=\"(.*?)thumb_(.*?)\"\s*.*\s*width=\"(.*)\"\s*height=\"(.*)\"\s*border=\".*\"\s*.*\s*alt=\"(.*?)\"\s*title=\".*\n.*\n.*\n.*?\"\s*/><br /></a><!-- END enlargeit -->#i";to
Code: [Select]
if (!$ENLARGEITSET['enl_sefmode']) $ausdruck = "#<!-- BEGIN enlargeit -->\s*<a\s*onclick=\"\"\s*href=\"displayimage.php\?(.*)\">\s*<img\s*src=\"(.*?)thumb_(.*?)\"\s*.*\s*height=\"(.*)\"\s*border=\".*\"\s*.*\s*alt=\"(.*?)\"\s*title=\".*\n.*\n.*\n.*?\"\s*/><br /></a><!-- END enlargeit -->#i";and
Code: [Select]
$neu_str .= '" border="0" width="'.$match[4].'" height="'.$match[5].'" name="'.$CURRENT_PIC_DATA['pid'].'" class="enlargeimg" onclick="enlarge(this);" alt="'.$CURRENT_PIC_DATA['title'].'" id="enl'.$i.'" title="" /><br /></a>';to
Code: [Select]
$neu_str .= '" border="0" height="'.$match[4].'" name="'.$CURRENT_PIC_DATA['pid'].'" class="enlargeimg" onclick="enlarge(this);" alt="'.$CURRENT_PIC_DATA['title'].'" id="enl'.$i.'" title="" /><br /></a>';
No idea if this works, please try out.

Timos,
Thx for your help! I tried your suggestion above but couldn't get it to work. What I have noticed is that it only works when I set "Use dimension ( width or height or Max aspect for thumbnail )" to "Max Aspect", I tried to set it on "Width" to see if it would also work just for testing purposes and it doesn't either, just like when I set it to "Height".

Do you have any other suggestion? If not, no big deal, I'll just stick to "Max Aspect"  ;)

It would be great if you could figure out how to make it work with "Height" only or "Width" only for your next release, I think a lot of people would find it useful, I know I would  :D

Again, thx for your time and the great plugin!
Stephane
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ronronmx on September 16, 2008, 02:31:35 am
One thing I forgot to ask you...when I right click on a picture, it closes it the same way it does when I left click on it! I don't know why it does that, it's probably gonna confuse people that right click to save the picture to their computer! How can I make enlargeit stay open when right-clicking on the picture?

Thanks...
Stephane
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 16, 2008, 08:12:49 am
It would be great if you could figure out how to make it work with "Height" only or "Width" only for your next release, I think a lot of people would find it useful, I know I would  :D

To be honest: I didn't even know untill a few minutes ago that this config setting existed at all. I'll have a look at it, shouldn't be too difficult to make the plugin work with either setting.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 16, 2008, 08:24:57 am
One thing I forgot to ask you...when I right click on a picture, it closes it the same way it does when I left click on it! I don't know why it does that, it's probably gonna confuse people that right click to save the picture to their computer! How can I make enlargeit stay open when right-clicking on the picture?

It absolutely depends on the browser and how it handles onclick events. Opera for example let's you freely save the pic and leaves it open, so does IE and displays the pic while saving it, but after that it'll close it though. Safari, Mozilla and Chrome shrink the pic on right click, but Chrome and Mozilla will save the pic correctly if you select the corresponding menu item even if the pic as vanished long ago, while Safari will not let you save it at all. Life is beautiful.  ;D

I'd recommend to show the full size version as pop-up window if you want your visitors to download the pics. That way it works in every browser.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Lolik on September 16, 2008, 11:35:55 am
AFAIK ./albums/ is the standard location for the pic files?
Yes, this is standard location, but you can change it in Gallery Configuration (so did I for one of the galleries). It is stored in DB, and you can retrieve it with $CONFIG['fullpath']
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ronronmx on September 16, 2008, 04:54:46 pm
To be honest: I didn't even know untill a few minutes ago that this config setting existed at all. I'll have a look at it, shouldn't be too difficult to make the plugin work with either setting.

regards
Timo

Awesome, thx a lot for looking into it  ;)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ronronmx on September 16, 2008, 04:58:19 pm
It absolutely depends on the browser and how it handles onclick events. Opera for example let's you freely save the pic and leaves it open, so does IE and displays the pic while saving it, but after that it'll close it though. Safari, Mozilla and Chrome shrink the pic on right click, but Chrome and Mozilla will save the pic correctly if you select the corresponding menu item even if the pic as vanished long ago, while Safari will not let you save it at all. Life is beautiful.  ;D

I'd recommend to show the full size version as pop-up window if you want your visitors to download the pics. That way it works in every browser.

Thx for the explanation! So many browsers....what a nightmare! Getting my site to work correctly in both IE and Firefox gave me gray hair....lol
I'm probably gonna follow your advice and show the full size version in a pop-up window then  ;)

Thx again for your time!
Stephane
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 16, 2008, 07:42:42 pm
Just released v2.0 beta 12.

Changes since beta 11:
---------------------

- new feature: textured border
- fixed: plugin didn't work if config setting 'Use thumb dimension' was not 'Max Aspect'
- fixed: plugin didn't work if config setting 'thumbnail prefix' was not 'thumb_'
- fixed: plugin didn't work if config setting 'album directory' was not set to 'albums/'
- fixed: plugin didn't work if config setting 'prefix for intermediate' was not set to 'normal_'
   (please note: the maximize button will still not be available if it's not 'normal_' - that's life!)

Please make sure to correctly uninstall any previous version before installing this beta, and empty your browser cache when done!

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jdsmith on September 16, 2008, 09:30:37 pm
Thanks so much for working on the comment function - I appreciate your time.

When I click the comment icon, the comment window opens.  I type a comment and when I click the "ok" button it takes me out of the enlargeit style viewing and back to my original method (one image with a row of thumbnails beneath).  I'm not sure what should happen when the "OK" button is clicked, but I assume it would go back to the enlargeit image view or say "comment added" or something...

thanks again
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 16, 2008, 09:36:22 pm
Quote
Please note regarding the comment AJAX snippet: No smileys yet, no edit button yet, no report to admin button yet, posted comments will be redirected to the intermediate page, layout is taken from CPG theme instead of enl_styles.css, no Captcha support yet. This feature is simply NOT ready for productive usage. I was begged a lot to release this by some users, because they really really want this and need this - see if you can live with it as it is, and please report in this thread if it works for you. I simply don't know when I'll have the time to complete it. Therefore I recommend to not upload enl_comment.php and enl_addcomment.php to your server, and leave the setting for comment button set to 'No'. Thanks for understanding.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: uglycars on September 17, 2008, 12:07:45 am
anyway to make this work with the  copy/ paste bbcode img URL below intermediate image v1.1 mod/hack?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ronronmx on September 17, 2008, 06:38:03 am
Just released v2.0 beta 12.

Changes since beta 11:
---------------------

- new feature: textured border
- fixed: plugin didn't work if config setting 'Use thumb dimension' was not 'Max Aspect'
- fixed: plugin didn't work if config setting 'thumbnail prefix' was not 'thumb_'
- fixed: plugin didn't work if config setting 'album directory' was not set to 'albums/'
- fixed: plugin didn't work if config setting 'prefix for intermediate' was not set to 'normal_'
   (please note: the maximize button will still not be available if it's not 'normal_' - that's life!)

Please make sure to correctly uninstall any previous version before installing this beta, and empty your browser cache when done!

Have fun!
Timo

Timo, great work! Now enlargeit works perfectly with thumbs set to Height, Width or Max Aspect! I was so happy when I saw your post! Thx a lot for looking into this so quickly!!!

Stephane
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jdsmith on September 17, 2008, 02:51:16 pm
sorry - I read your comment disclaimer but the "posted comments will be redirected to the intermediate page" part didn't register with me I guess.  My apologies...
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Farnsi on September 17, 2008, 03:41:09 pm
Hallo Timo,
after deinstalling the previous version and installing the current version the enlargeitfeature only works for the imageflow not for thumbnails. after downgrading to your 2.0 beta 8 everything works as expected, again.
sadly the newer betas are always being deleted by you, so the beta8 was the last one i had on my hdd.
using FF3 and IE7.
Grüße, Farnsi
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: tpr on September 17, 2008, 06:02:46 pm
Hi,
The plugin does not seem to work, tried both version (current and the beta).
Have a look at :
http://www.yehida.co.il/gallery/index.php
when the plugin is enabled i can not press the images at all (nothing happens). though, when i use enable sef the images open regularly
please advise
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 17, 2008, 06:19:05 pm
Hi,
The plugin does not seem to work, tried both version (current and the beta).
Have a look at :
http://www.yehida.co.il/gallery/index.php
when the plugin is enabled i can not press the images at all (nothing happens). though, when i use enable sef the images open regularly
please advise

When trying to access http://www.yehida.co.il/gallery/plugins/enlargeit/js/enlargeit.js your server tells me that he doesn't want me to. Same happens to the visitor. That's the whole problem.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 17, 2008, 06:20:09 pm
Hallo Timo,
after deinstalling the previous version and installing the current version the enlargeitfeature only works for the imageflow not for thumbnails. after downgrading to your 2.0 beta 8 everything works as expected, again.
sadly the newer betas are always being deleted by you, so the beta8 was the last one i had on my hdd.
using FF3 and IE7.
Grüße, Farnsi

Hi Farnsi,

please install the latest beta again and drop me a link to your gallery.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: tpr on September 17, 2008, 06:32:55 pm
When trying to access http://www.yehida.co.il/gallery/plugins/enlargeit/js/enlargeit.js your server tells me that he doesn't want me to. Same happens to the visitor. That's the whole problem.

I bow to your wisdom ;), thanks mate really quick replay and works perfectly now.

Got another question though - any chance for a cpmfetch integration ? currently it redirects me to the intermediate picture and then open the full size regularly (as im guessing the plugin does not deal with the intermediate view).
I don't mind going to the intermediate view, i just want the full size to open nicely ^^
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 17, 2008, 06:48:38 pm
Just released v2.0 beta 14.

Changes since beta 12:
---------------------

- comment snippet now works as expected

Please make sure to correctly uninstall any previous version before installing this beta, and empty your browser cache when done!

I think we're close to a release candidate...  ;D

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jdsmith on September 17, 2008, 09:25:16 pm
Not sure what I'm doing wrong now - I click the comment icon, comment window opens, I type comment , click "OK" and it says I need to enter name and comment.  www.jerrysmithphoto.com/cpg  user "test" password "test", go to "Kelly Betsy" Category.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 17, 2008, 09:33:29 pm
Reproduced here, I'll have a look into it - you can safely delete your test user if you like. :)

Thanks for your report, and thanks for giving me a test account and link to your gallery together with it.  ;)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 17, 2008, 09:53:54 pm
Just released v2.0 beta 15.

Changes since beta 14:
---------------------

- fixed: registered users couldn't post comments *sigh*

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jdsmith on September 17, 2008, 10:53:48 pm
Well, that fixed that - when I add a comment it says it added it and if I refresh the thumbnail page, it ups the comment count.  However, it doesn't seem to show any but the initial comment if you go back and view the comments thru the enlargeit interface.  Is it supposed to show all comments yet?  I'll add the test user back just in case...
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jManuel on September 17, 2008, 11:22:33 pm
 Previous beta versions showed no Spanish language errors, problems now with the letter "ñ" and accents, why?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 17, 2008, 11:23:47 pm
Well, that fixed that - when I add a comment it says it added it and if I refresh the thumbnail page, it ups the comment count.  However, it doesn't seem to show any but the initial comment if you go back and view the comments thru the enlargeit interface.  Is it supposed to show all comments yet?  I'll add the test user back just in case...

A caching problem - works fine with firefox, IE will present the old page (although the comment has been added).
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 17, 2008, 11:25:39 pm
Previous beta versions showed no Spanish language errors, problems now with the letter "ñ" and accents, why?

Don't know - the codebase didn't change. Only the files enl_styles.css, enl_comment.php and enl_addcomment.php have been modified.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jManuel on September 17, 2008, 11:41:49 pm
hi,

Quote
Don't know - the codebase didn't change. Only the files enl_styles.css, enl_comment.php and enl_addcomment.php have been modified.

Moved enl_comment.php and enl_addcomment.php since the beta version-12 to beta-15.
 (Now perfect Spanish language).
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jdsmith on September 18, 2008, 02:01:29 am
A caching problem - works fine with firefox, IE will present the old page (although the comment has been added).

Does that mean thats just the way its gonna work or is there something you're trying to make it act differently?  The only way I've been able to make the added comment display is to exit the browser completely - refreshing the page, switching images doesn't seem to get it to show.  Thanks for doing all this work and fielding questions too.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 18, 2008, 05:43:25 pm
Just released v2.0 beta 16.

Changes since beta 15:
---------------------

- fixed: IE would present cached AJAX snippets (should fix the jdsmith issue)
- fixed: URL encoding would disturb page encoding in certain cases (hope this fixes the spanish language issue posted by jManuel)
- improved layout of comment snippet
- fixed: a possible reason for double postings

Please make sure to correctly uninstall any previous version before installing this beta, and empty your browser cache when done!

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jManuel on September 18, 2008, 07:03:15 pm
This beta-16 works perfectly with the letters "ñ" and accents for Spanish language.

A great help for users of Spain.

Thank you Timos from spain.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: merlin6666 on September 18, 2008, 07:36:12 pm
Hi Timo,

the comment function did not work in my galeries and also in your galerie. (with v2.0 beta 16 in FF and IE)
After typing some text and pushing "OK", only a white page appears with "Du musst Deinen Namen und einen Kommentar eingeben" in the middle and "Back"-Button which does not work....:-(
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 18, 2008, 07:53:29 pm
Just released v2.0 beta 17.

Changes since beta 16:
---------------------

- fixed: Javascript bug that broke the AJAX chain / comment feature
- new: delete button now available on comment snippet

Please make sure to correctly uninstall any previous version before installing this beta, and empty your browser cache when done!

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 18, 2008, 07:55:17 pm
Hi Timo,

the comment function did not work in my galeries and also in your galerie. (with v2.0 beta 16 in FF and IE)
After typing some text and pushing "OK", only a white page appears with "Du musst Deinen Namen und einen Kommentar eingeben" in the middle and "Back"-Button which does not work....:-(

I'm sorry, a typo in the Javascript part killed the AJAX chain. Please download beta 17.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jdsmith on September 18, 2008, 08:41:02 pm
Delete "X" doesn't seem to do anything...  Also, when I try to add a comment now I get the "add comment and name" message like before.  Registered user issue again?  I left the "test" "test" login if you need it - www.jerrysmithphoto.com/cpg.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on September 18, 2008, 08:47:05 pm
Timo, I admire your hard work. Your speed of releases is amazing.

Lolik is right though with his remark
in codebase.php you use
Code: [Select]
$enl_path = 'albums/'.number of times, which assumes standard location of images.

Correct way would be
Code: [Select]
$enl_path = $CONFIG['fullpath'].
You should use the config var instead of the hard-coded "albums".
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 18, 2008, 08:58:32 pm
Delete "X" doesn't seem to do anything...  Also, when I try to add a comment now I get the "add comment and name" message like before.  Registered user issue again?  I left the "test" "test" login if you need it - www.jerrysmithphoto.com/cpg.

I just visited your gallery (made a comment in firefox, deleted a comment in firefox, made a comment in ie, deleted a comment in ie). Works fine.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 18, 2008, 09:00:19 pm
Lolik is right though with his remarkYou should use the config var instead of the hard-coded "albums".

Hi Joachim,

done since beta 12, see http://forum.coppermine-gallery.net/index.php/topic,53290.msg269233.html#msg269233

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jdsmith on September 18, 2008, 09:20:48 pm
Tried it again - works great now.  Don't know what was happening before.  Anyway, many,many thanks.  If you're ever in Mississippi I'll buy you a beer!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: tpr on September 19, 2008, 09:53:57 am
Got another question though - any chance for a cpmfetch integration ? currently it redirects me to the intermediate picture and then open the full size regularly (as im guessing the plugin does not deal with the intermediate view).
I don't mind going to the intermediate view, i just want the full size to open nicely ^^

sorry to be bumping this, but is there any way i can make your plugin work from the intermediate page view ?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 19, 2008, 10:45:51 am
EnlargeIt! is the intermediate page view, so: No, sorry.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on September 19, 2008, 12:00:17 pm
Pay more attention to the first post in this thead: This plugin replaces the intermediate page with an AJAX gui
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 19, 2008, 12:33:28 pm
Just released v2.0.

Changes from last release version v0.881:
----------------------------------------
v2.0 (2008/09/18)
-----------------
- new: option for info button to directly go to intermediate page ('Highslide mode')
- new: key listener - you can use arrow keys for navigation now and Esc key to close
- new: mouse wheel navigation (IE and Mozilla only)
- new: option for maximize button to use popup window instead of max to viewport
- new: darkening fade, new option darkening steps on config page
- new: optimized mouse cursors in browsers that support it
- new: drag & drop can be deactivated on config page
- new: option for using textured border
- new: comment AJAX snippet
- new: experimental swf (flash) support - no buttons, but view is counted
- added: italian translation (user contribution)
- added to imageflow plugin: french langauge file (user contrib)
- fixed: imageflow plugin - invalid html if not enough pics in a category
- fixed: changed the way pic views are counted
- fixed: plugin didn't work without title bar
- fixed: pic views are not counted in admin mode anymore
- fixed: plugin didn't work if config setting 'Use thumb dimension' was not 'Max Aspect'
- fixed: plugin didn't work if config setting 'thumbnail prefix' that was not 'thumb_'
- fixed: plugin didn't work if config setting 'album directory' was not set to 'albums/'
- fixed: plugin didn't work if config setting 'prefix for intermediate' was not set to 'normal_'
  (please note: the maximize button will still not be available if it's not 'normal_')

Changes from last beta v2.0beta17:
----------------------------------
- fixed: back to previous layout for comment snippet - IE didn't like the new one (missing scroll bars if many comments existed)
- fixed: plugin didn't work if config setting 'Use thumb dimension' was set to 'Exact' (only possible with Stramm's mod pack, should fix the Farnsi issue)
- new: config option for mouse wheel navigation support (can now be turned off)

Thanks to everyone who took part during the beta test phase.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jManuel on September 19, 2008, 04:21:22 pm
hi,

My small contribution. Lang spanish, file attachment.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: tpr on September 19, 2008, 06:56:32 pm
Pay more attention to the first post in this thead: This plugin replaces the intermediate page with an AJAX gui

heh ok ok im sorry wasn't paying attention.
Can this be integrated with cpmfetch then ?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 19, 2008, 07:30:36 pm
It depends on the author of CPMfetch if he likes to do an EnlargeIt! integration, the script is available freely here:
http://enlargeit.timos-welt.de

This has nothing - absolutely nothing - to do with this plugin.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 19, 2008, 08:33:52 pm
hi,

My small contribution. Lang spanish, file attachment.

Thanks very much, I've added it to the ZIP file.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on September 21, 2008, 12:07:48 pm
Installed 2.0 and i very much appreciate the work Timos. Excelent.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Farnsi on September 22, 2008, 12:45:08 am
I love your v2 of this plugin, just awesome!

One thing i noticed, in IE7 the comments are left-aligned (which i like better) but in FF3 they are centered.


Furthermore I would like to tell you some things i would really like to see/have in your plugin, as a wish for the future. And i do know that wishes not always come true..  ;D (but perhaps some of the them will go into versions in the remote future, like v3 or v4  :) )
(Please do not misinterpret my wishes! I really like what you have done and i know that you as a freecontributer are no codingslave. I am very sold on your enthusiasm bringing this plugin into a stable version!!!)

- Function to add smilies
- Multiline comments
- displaying the useravatar (modpack compability)
- usernames as a clickable link
- option whether the title of the pic is being displayed above or under the pic

Thanks again Timo!  :)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 22, 2008, 02:03:21 pm
One thing i noticed, in IE7 the comments are left-aligned (which i like better) but in FF3 they are centered.
Edit enl_styles.css to your needs (e. g. set the text alignment there).
- Function to add smilies
Not possible.
- Multiline comments
- displaying the useravatar (modpack compability)
- usernames as a clickable link
I'll think about that.
- option whether the title of the pic is being displayed above or under the pic
This is not going to come, because I don't think that it's intuitive; people are just used to it by other products like Highslide.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Farnsi on September 23, 2008, 07:22:33 pm
This is not going to come, because I don't think that it's intuitive; people are just used to it by other products like Highslide.

regards
Timo
Well i never used the Highslide Plugin and the normal way of showing the pic-title of coppermine is under the pic. The way it is now, it is not centered (when a pic is upright) because of the buttons which are also shown on the top. Perhaps you'll think about it twice but i surely respect your decision.  :)
Thank you anyways!
Farnsi
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 24, 2008, 09:07:04 am
Ah, I see. I'll consider it for a later version. ;) ATM I'm completing the experimental flash support.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: tpr on September 29, 2008, 09:45:13 am
Is is possible to show youtube movies through enlargeit (movies that were added to the gallery using various existing components).

Thanks
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 29, 2008, 11:28:18 am
No.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 30, 2008, 12:55:02 am
Just released v2.1 beta 1.

Changes since v2.00:
---------------------
- new: completed support for flash (SWF) files
- fixed: unwanted selections in Firefox 3 when using close button

Please make sure to correctly uninstall any previous version before installing this beta, and empty your browser cache when done!

Have fun!
Timo

Edit: Removed file because beta 2 is released.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Alcor on September 30, 2008, 12:38:23 pm
Hello.

I've installed this plugin, and I like it, thanks for your work Timo.

But I was having problems with it. When I click the buttons favorites, show info, vote and comment an error 404 page is showed, and show picture button does nothing. I tested it in my localhost and after I installed in my server but the same problem. Maybe I forget something... ?

Coppermine version 1.4.19
Mods installed:
EnlargeIt! v2.1beta1 (I tested with v2.0 and same result)
Imageflow v2.05
Slider v2.09
Copy /Paste BB Code image url v1.2

Thanks.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Alcor on September 30, 2008, 12:52:29 pm
Sorry :-[, here is the link to the coppermine gallery (http://www.cosasagapornis.com/cpg/index.php)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 30, 2008, 01:07:43 pm
Copy the files from folder toGalleryRoot to your gallery root.
Read the readme.txt.
Don't use the beta for productive galleries because it might be unstable. Use the 2.0 instead.

The following file is simply not where it has to be:
http://www.cosasagapornis.com/cpg/enl_rteit.php

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Alcor on September 30, 2008, 02:13:02 pm
Read the readme.txt.

I'm sorry for wasting your time :-[, and thanks, now it works.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 30, 2008, 06:50:20 pm
I'm sorry for wasting your time :-[, and thanks, now it works.

I'm glad that it works for you, and those are really beautiful "Unzertrennliche" in your gallery (don't know the english word right now!). I love these birds.

Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on September 30, 2008, 11:14:47 pm
Just released v2.1 beta 2.

Changes since v2.1beta1:
-------------------------
- SWF support didn't work correctly in IE
- fixed: bad animation performance in IE

Please make sure to correctly uninstall any previous version before installing this beta, and empty your browser cache when done!

Have fun!
Timo

Edit: Removed the file because v2.10 is released.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jManuel on October 01, 2008, 11:25:29 pm
hi Timos,

Sorry, for my bad english;

Quote
Just released v2.1 beta 2.
(Thank you very much)

Only one thing, the small pictures or images with very data showing the data with a slider bar.

Can he arranged to show the full box?

Thank you.

Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jManuel on October 01, 2008, 11:33:13 pm
Sorry,i'm jManuel,

The image is named "Amarilla"

View http://www.efotolia.com/galerias/thumbnails.php?album=2 (http://www.efotolia.com/galerias/thumbnails.php?album=2)

Sorry and Thank you
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on October 01, 2008, 11:37:16 pm
The image is simply too small. Please read the first posting in this thread carefully, it tells you how to avoid scroll bars.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on October 01, 2008, 11:38:33 pm
Just released v2.10.

Changes since v2.00:
---------------------
- new: completed support for flash (SWF) files
- fixed: unwanted selections in Firefox 3 when using close buttons
- fixed: bad animation performance in IE (cursor graphics issue)

Please make sure to correctly uninstall any previous version before installing this version, and empty your browser cache when done!

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on October 02, 2008, 08:29:14 am
Timo, you do sleep sometimes don't you?  ;) (p.s. Thanks for this great plugin)
Title: Intermediate Page will not load from "info" button
Post by: Shane on October 03, 2008, 09:43:13 pm
Timos,

I just updated EnlargeIt! from v2.0beta10 to v2.1.  It seems that now when I set the "information" button to "open intermediate page" the little animation will start but the link to the intermediate page for that photo will not open.

Gallery is at http://philmontforum.com/cpg (http://philmontforum.com/cpg)

I have this problem with both IE6 and FireFox v3.  Any ideas on what I need to fix?

The beta version previously installed worked perfectly.  Thanks for a great plugin!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on October 05, 2008, 11:42:25 pm
I'm a bit tired so it is quite possible i did not read it but has it been asked before if enlargeit can automaticly go to the next page of thumbnails?
Title: Re: Intermediate Page will not load from "info" button
Post by: Timos-Welt on October 09, 2008, 07:43:12 pm
Timos,

I just updated EnlargeIt! from v2.0beta10 to v2.1.  It seems that now when I set the "information" button to "open intermediate page" the little animation will start but the link to the intermediate page for that photo will not open.

A typo in the Js file. Fixed with 2.11. Please update.

Thanks for your report!

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on October 09, 2008, 07:46:19 pm
I'm a bit tired so it is quite possible i did not read it but has it been asked before if enlargeit can automaticly go to the next page of thumbnails?

I don't think this can be realized with a plugin alone, because ATM EnlargeIt! doesn't know if there are more pictures of this album. But hey - you're a CPG developer: You're invited and very welcome to modify the core code accordingly, I'll do the corresponding Javascript modifications.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: cl9m on October 13, 2008, 05:13:45 pm
for the sef_url it's maybe possible to change the url picture
with swfadress and ajax  http://www.asual.com/swfaddress/ (http://www.asual.com/swfaddress/)

maybe you know this technology
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on October 13, 2008, 07:12:04 pm
Nice idea, I'll consider sth like this for a future version.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: mikesalway on October 17, 2008, 03:11:41 am
Hi Timos

This looks like an excellent plugin, which i've installed (along with slider and imageflow).

Slider and Imageflow work fine, and the image enlarges when clicked on.

However in the thumbnail view, enlargeIt doesn't appear to be active/enabled/working? Clicking on an image still takes me to the intermediate page. The enlargeIt admin button appears and all the options are configured fine, but no behaviour has changed when I click on an image in the thumbnail view.

What have I done wrong?

Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: mikesalway on October 17, 2008, 04:54:46 am
Just some more info, sorry:

I can get to the JS fine: http://www.mikesalway.com.au/gallery/plugins/enlargeit/js/enlargeit.js
My gallery link: http://www.mikesalway.com.au/gallery
Example thumbnails page: http://www.mikesalway.com.au/gallery/thumbnails.php?album=44

and when I click on an image, there's no EnlargeIt.

After reading the entire thread, it seems others who had this problem were due to bugs with MaxAspect etc, but they've all been fixed.

It doesn't appear to be theme-based, as if I change the theme to classic, I get the same issue.

Thanks in advance for your help.

Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: mikesalway on October 17, 2008, 05:12:11 am
On an additional note, is it possible that the description opens up beneath the image, instead of having to click "i" for info?

I noticed it in another similar plugin (highslide) - I liek the way the description comes out beneath without having to click on "i".

At least, it could be configurable for the user as to whether to show it.

Cheers
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on October 17, 2008, 08:17:51 am
>when I click on an image, there's no EnlargeIt

EnlargeIt! seems to work very well with your gallery.
Opening http://www.mikesalway.com.au/gallery/thumbnails.php?album=lastup&cat=0 in IE and Firefox shows no problem at all here - animation works fine, buttons work fine, navigation works fine. Maybe you should empty your browser cache and simply try your gallery again?

>is it possible that the description opens up beneath the image

Has been requested quite some times now; I'll consider it for a future version. Sorry, no release date yet.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: mikesalway on October 17, 2008, 11:06:49 am
Hi Timos

You are correct - it does now work in IE and FF. I was testing in Chrome. It still doesn't work in Chrome from the thumbnails view - but does work from the Slider and ImageFlow (in Chrome).

Another question - how does one actually see the full size image?

Eg: if you go to this thumbnails page: http://www.mikesalway.com.au/gallery/thumbnails.php?album=15

and click on any of the images, it opens the EnlargeIt! image - then click on the "full size" icon. It loads the full size picture but still displays it in the intermediate size. There's no scrollbars or any way to actually show the full 1200px wide image.

How do we do this?

Thanks again.


Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: mikesalway on October 17, 2008, 11:17:54 am
Ok i've answered my own questions.
You are correct - it does now work in IE and FF. I was testing in Chrome. It still doesn't work in Chrome from the thumbnails view - but does work from the Slider and ImageFlow (in Chrome).
It does work in Chrome - I was *logged in* and the option "Enable EnlargeIt! in admin mode" was OFF! doh!

Quote
Another question - how does one actually see the full size image?

Eg: if you go to this thumbnails page: http://www.mikesalway.com.au/gallery/thumbnails.php?album=15

and click on any of the images, it opens the EnlargeIt! image - then click on the "full size" icon. It loads the full size picture but still displays it in the intermediate size. There's no scrollbars or any way to actually show the full 1200px wide image.

How do we do this?
I also figured this one out - by setting the option "Show Button Maximise" to "Yes, as Pop-up window".
That opens the full size image in a new window as the full dimensions.

I'm still not sure what the default value of "Yes" is supposed to do then, as if the image is larger than the default EnlargeIt! view there's no way to see the full size.

In addition to my previous request to show the description as a expanding area under the image, I think the "Comment" feature should also appear underneath the image rather than as a new page where you can't see the image anymore. Just a small suggestion :)

Thanks for a great plugin.

Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on October 17, 2008, 11:59:52 am
It still doesn't work in Chrome from the thumbnails view

Works fine here in Chrome. I'd recommend you think about your skin again to avoid the vertical scroll bar in some browsers (XHTML problem). EnlargeIt! doesn't really work well with vertical scrolled layouts.

Another question - how does one actually see the full size image?

EnlargeIt! at the moment can only use the viewport of your browser window to display images, and this one depends on your screen resolution and size of the browser window. The correct solution is to use the pop up function as you did.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on October 17, 2008, 03:03:35 pm
Confirming: works fine in Chrome!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: tincanrcoket on October 20, 2008, 05:16:14 pm
This is a fantastic plug-in. Took a while for me to work out how to get it working, but the tip about ensuring that the server folders had the correct permissions did the trick. Thanks for all your work in creating this, Timos.

I registered (with a mis-spelt username!) mainly to say thanks for this, but also to say thanks to all the Coppermine gurus who frequent the forum and whose tips I have been reading avidly for the last few weeks - your help is very much appreciated.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: prhodan on October 26, 2008, 08:14:27 pm
hi Timos
Thanks for a great piece of software. I really like it.
For a friends site i am making, I am testing your plugin.

I also have Stramms photo_shop plugin.
When using EnlargeIt! I can not add a photo to the cart.

Is there a way to implement this like the other buttons (comments, ratings)
or is there another way to add photo's to the cart while using EnlargeIt! ?

http://saadjasim.com/gallery

thanks again
Ronald
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on October 27, 2008, 02:07:51 am
It should be quite easy for Stramm to make the neccessary AJAX snippets - he's a real coppermine expert, so simply ask him. I don't know anything about the photo shop plugin and don't use it myself, so I won't create the corresponding snippets, but I'll surely integrate them once they are done.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Shane on November 03, 2008, 03:26:43 am
Timo,

Is there a way to increase the photos view count by one when someone views the photo with enlargeit?

site:  http://philmontforum.com (http://philmontforum.com)

I have enlargeit set so that the applet immediately shows the full size photo.  I'd like for the photo counter to increase each time a visitor views the photos using enlargeit.

Thanks!  This is a great piece of work, probably my favorite feature of the gallery now.

Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Shane on November 03, 2008, 03:31:27 am
Nevermind...

I have always viewed while logged in.  I logged out of my site, viewed some photos, and the counter increased for each one.

Sorry for the trouble.  Thanks again for such a great plugin.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on November 05, 2008, 08:45:05 pm
Just released v2.12 beta.

Changes since v2.11:
---------------------
- added compatibility for Nibbler's mod 'Displaying videos from Youtube in Coppermine' (http://forum.coppermine-gallery.net/index.php/topic,37962.0.html)
- fixed: select boxes were visible through enlarged image in IE6

Please make sure to correctly uninstall any previous version before installing this version, and empty your browser cache when done!
Please note, that the included Slider and Imageflow plugins have been updated accordingly.

I've added an album with YouTube movies to my demo gallery (http://cpgdev.timos-welt.de/cpg1416/thumbnails.php?theme=water_drop&album=6).

Have fun!
Timo


Edit 2008/11/18: Removed beta file because newer beta is released.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Shane on November 05, 2008, 11:50:51 pm
I'd just like to say WOW and THANKS!

The only problem I see with the newest version is that when I installed it, it still read as v2.11.

YouTube videos work perfectly in the applet.

Thanks again!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on November 06, 2008, 06:25:35 pm
The only problem I see with the newest version is that when I installed it, it still read as v2.11.

Please re-download the archive if you like. I fixed the version number issue and YouTube videos will now have a 'full screen' button (very useful).

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: goku on November 06, 2008, 08:23:50 pm
wow man this is an awesome plugin i love it!!! thank u so much. there is just one question how to get the random files scrolling like in your demo page? is that another plugin for it or is it in this one?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on November 06, 2008, 08:31:09 pm
Unzip slider_for_cpg1_4_x_v2xx.zip and upload the folder slider to your plugins dir. Then install as an own plugin. Read the first posting of this thread:

Quote
Note for users of plugins 'ImageFlow' and 'Slider'
New versions of these plugins are included in the ZIP file. Please make sure to update them before you install the EnlargeIt! plugin. The included versions of ImageFlow and Slider are full versions, meaning that it is not neccessary to install previous versions.

See here (http://forum.coppermine-gallery.net/index.php/topic,51324.0.html) for details about the Slider plugin.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: goku on November 06, 2008, 09:10:46 pm
heyz yes both the slider and enlargeit are working properly now im so glad that u came up with this plugin it rocks!!! just one last thing. the show picture button in the image when we click to enlarge it isnt working i mean it dont do anything what is it for?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ppeter on November 07, 2008, 12:04:03 am
hi!

very good plugin, one question, is it possible to integrate enlargeIT with random image from coppermine on another page?

:)
peter
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on November 07, 2008, 03:00:51 pm
Not related to this thread. Search the cpmFetch board.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: TUN35 on November 13, 2008, 01:14:27 pm
Great plugin! Have been using it for sometime now and only just realised you've released several versions!!

Is there any way to keep the AJAX window open when going to the next image? Instead of dropping back to your gallery with the loading image?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on November 13, 2008, 01:22:39 pm
No, the current release can't do that. Probably in a future version.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: TUN35 on November 14, 2008, 10:44:17 pm
No, the current release can't do that. Probably in a future version.

Thanks :)
Would be great to see one day!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Paver on November 17, 2008, 05:35:27 am
@Timo: One thing I noticed about your Slider and Imageflow plugins is that they don't properly deal with data flow when responding to the plugin hook 'plugin_block'.  For this hook, the function you write should take the variable $matches as an incoming parameter and then return it so that other plugins can respond to it as well, or return an empty array or nothing if no other plugins should respond to it, like you did for 'slider' or 'imageflow'.  Because you access $matches as a global, this messes up the data flow from plugin to plugin for $matches.

In my case, I use a plugin to suppress 'alblist' and 'catlist' on the main page (cat=0), and leave it alone for all other pages.  So I return an empty array when I see 'alblist' and cat=0.  Your plugins ignore my returned $matches and use the global.  The effect is that 'alblist' shows up and my plugin is rendered impotent.  Oops.

Maybe I'm missing something: is there a reason to use the global?

I modified your plugins, and everything works great.  For slider, I changed this:
Code: [Select]
function slider_mainpage()
{
        global $CONFIG,$matches,$lang_plugin_slider,$FORBIDDEN_SET,$SLIDERSET,$lang_meta_album_names,$META_ALBUM_SET;
to this:
Code: [Select]
function slider_mainpage($matches)
{
        global $CONFIG,$lang_plugin_slider,$FORBIDDEN_SET,$SLIDERSET,$lang_meta_album_names,$META_ALBUM_SET;
and a similar thing for 'imageflow'.

I post here because it looks like your new versions of these plugins are released here.  Excuse me if I should have posted on the other plugin threads.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Paver on November 18, 2008, 06:14:52 am
@Timo: A request for assistance: I'm trying to move the title to the bottom of the window.  I noticed in version 0.95 you removed the picture caption.  So if you don't have a quick reply about how to add a caption below the image, I would be willing to look through version 0.94 to figure out how to do it.  I integrated EnlargeIt with CPGPicDownload (http://cpg-contrib.org/board/index.php?topic=244.0) to add a download button, plus I have a few more buttons I'm adding so putting the title below the image gives much more room for a proper title/caption.  I haven't figured out yet the data flow in your code, so I thought I'd ask for some pointers (or version 0.94).

I also integrated things with my plugin "Full-Size & Intermediate Access (http://forum.coppermine-gallery.net/index.php/topic,25010.0.html)" to give granular control to groups.  Ideally it would be nice to add these features into EnlargeIt (as options of course) so that you don't need multiple plugins.  Would you consider contributions to your excellent plugin?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on November 18, 2008, 06:39:06 am
Just released v2.13 beta.

Changes since v2.11:
---------------------
- visitor can now abort loading of a picture (click on loader gif)
- messages for cancel loading and no flash plug found can now be set in lang file
- no hourglass plus cursor if IE6 is detected (caused bad performance of animation)
- added compatibility for Nibbler's mod 'Displaying videos from Youtube in Coppermine (http://forum.coppermine-gallery.net/index.php/topic,37962.0.html)' so EnlargeIt will now play YouTube videos if you like
- fixed: select boxes were visible through enlarged image in IE6
- fixed: global use of $matches in imageflow and slider main functions
  (new versions included; thanks Paver)

Please make sure to correctly uninstall any previous version before installing this version, and empty your browser cache when done!
Please note, that the included Slider and Imageflow plugins have been updated accordingly.

I've added an album with YouTube movies to my demo gallery (http://cpgdev.timos-welt.de/cpg1416/index.php?theme=water_drop).

Have fun!
Timo


Edit 2008/11/20: Removed beta file because v2.13 is released.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on November 19, 2008, 08:01:51 am
@Timo: I'm trying to move the title to the bottom of the window.  I noticed in version 0.95 you removed the picture caption.  So if you don't have a quick reply about how to add a caption below the image, I would be willing to look through version 0.94 to figure out how to do it.  I integrated EnlargeIt with CPGPicDownload (http://cpg-contrib.org/board/index.php?topic=244.0) to add a download button, plus I have a few more buttons I'm adding so putting the title below the image gives much more room for a proper title/caption.  I haven't figured out yet the data flow in your code, so I thought I'd ask for some pointers (or version 0.94).

It doesn't make sense to use v0.94 to do anything, because it's a really really really old version of the script. I recommend to download the current beta of the plugin and use the included enlargeit_source.js as base for manipulations. v0.94 is way old and has no advantages (but quite a few disadvantages and bugs) over 1.1.

It's time for a rewrite anyways; I hope I'll manage it to rewrite the complete Javascript part this winter, and after that it should also be able to display the pic title below the pic (and some other neat stuff like transitions).

I also integrated things with my plugin "Full-Size & Intermediate Access (http://forum.coppermine-gallery.net/index.php/topic,25010.0.html)" to give granular control to groups.  Ideally it would be nice to add these features into EnlargeIt (as options of course) so that you don't need multiple plugins.  Would you consider contributions to your excellent plugin?

Feel free to contribute anything, but don't forget the two worlds of AJAX (JS and PHP). BTW: EnlargeIt! currently has a setting so only registered users can access the full size version of pics (the corresponding button won't be displayed for guests if you configure it this way on the settings page). The additional value of your plugin would be that I can add a group and only members of this group can access the full size pics, correct?

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on November 20, 2008, 05:20:35 pm
Just released v2.13.

Changes since v2.11:
---------------------
- visitor can now abort loading of a picture (click on loader gif)
- messages for cancel loading and no flash plug found can now be set in lang file
- no hourglass plus cursor if IE6 is detected (caused bad performance of animation)
- added compatibility for Nibbler's mod 'Displaying videos from Youtube in Coppermine (http://forum.coppermine-gallery.net/index.php/topic,37962.0.html)', so EnlargeIt will now play YouTube videos if you like
- fixed: select boxes were visible through enlarged image in IE6
- fixed: global use of $matches in imageflow and slider main functions (new versions are included) - bug report by Paver

Please make sure to correctly uninstall any previous version before installing this version, and empty your browser cache when done!
Please note, that the included Slider and Imageflow plugins have been updated accordingly.

I've added an album with YouTube movies to my demo gallery.

Download in the first posting of this thread.

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: AWJunkies on November 21, 2008, 02:07:32 am
Just want to let you know version numbers are wrong for latest imageflow and slider in plugin manager it shows old versions but zip is labeled correctly please advise.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on November 21, 2008, 06:54:11 am
On the config page the versions are correct? Then ignore it, it's just a display bug. :)

I've fixed the version numbers in the ZIP file; If you like you can download it again to get correct version numbers in plugin manager.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: AWJunkies on November 22, 2008, 03:23:03 pm
I saw the ZIPS correct just plugin manager wrong was just letting you know working perfect good work.

Any ideas in adding a icon and page for BBCODE forums codes etc? If not I will take a crack at it since it is a must have on my forums.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on November 27, 2008, 07:03:04 pm
I saw the ZIPS correct just plugin manager wrong was just letting you know working perfect good work.

Any ideas in adding a icon and page for BBCODE forums codes etc? If not I will take a crack at it since it is a must have on my forums.

Please don't take crack, you might get hooked on it.  ;)

Feel free to add an additional AJAX snippet for BBCODE link - I'll be happy to integrate it into EnlargeIt!

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on November 28, 2008, 03:54:36 pm
Edit 2008/12/01: Removed file because next beta is released


Just released a new beta version - v2.14.

Changes since v2.13:
---------------------


Please make sure to correctly uninstall any previous version before installing this version, and empty your browser cache when done!

I've added an album with DivX movies to my demo gallery (http://cpgdev.timos-welt.de/cpg1416/thumbnails.php?theme=water_drop&album=7).

Have fun!
Timo

Edit 2008/12/01: Removed file because next beta is released
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Phill Luckhurst on November 28, 2008, 08:48:50 pm
Fantastic. I've just seen this for the first time today. I would love to use it on one of my galleries but it is missing the facility to easilly produce forum code (ie, click a button and it pastes a link to the intermediate pic to your clipboard in forum code like
Code: [Select]
[url=http://www.windsurf.me.uk/cpg133/albums/userpics/10089/_MG_2406A.jpg][IMG]http://www.windsurf.me.uk/cpg133/albums/userpics/10089/normal__MG_2406A.jpg[/IMG][/url])

For me this is essential in this particular gallery as many people show their photo's off on a popular forum.

Looks like something I'll have to think about.

Nice Metalica clip.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 01, 2008, 07:25:38 pm
Edit 2008/12/03: Removed file because next beta is released

Just released a new beta version - v2.14b3.

Changes since v2.13:
---------------------


Please make sure to correctly uninstall any previous version before installing this version, and empty your browser cache when done!

I've added an album with DivX and FLV movies to my demo gallery (http://cpgdev.timos-welt.de/cpg1416/?theme=water_drop).

* added zip to attachment - Hein *

Have fun!
Timo

Edit 2008/12/03: Removed file because next beta is released
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 01, 2008, 09:13:14 pm
Thanks Hein! :)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jake on December 02, 2008, 05:33:32 am
What a fantastic plugin!  Easy to install, and works like a dream!  Thanks!
- Jake
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 03, 2008, 10:28:42 pm
Edit 2008/12/08: Removed file because next beta is released

Thanks Jake! :) Just released a new beta version - v2.14b4.

Changes since v2.13:
---------------------


Please make sure to correctly uninstall any previous version before installing this version, and empty your browser cache when done!

Demo gallery (http://cpgdev.timos-welt.de/cpg1416/?theme=water_drop).

Have fun!
Timo

Edit 2008/12/08: Removed file because next beta is released
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on December 03, 2008, 10:39:56 pm
Updated dutch language file.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 03, 2008, 10:48:08 pm
Thanks Hein! :) Please re-download, I added your lang file and fixed a small glitch in enl_bbcode.php.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on December 03, 2008, 11:04:32 pm
No worries and thanks. Would it be possible to add the background metal names into the language file(s)?
Instead of White Metal it would then say Wit Metaal in dutch etc etc
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 04, 2008, 10:15:20 pm
I don't think that makes sense; in fact names are far too arbitrary - or did you really know what 'white metal 2' or 'rain' was until you saw it the first time? ;)
I'll include a dynamic preview function on the plugin config page some day.

ATM I'm trying to code anything else (even if I don't need it myself at all like bbcode) just to avoid the need to renovate this f***ng config page because that's not fun, that's simply hard work, and it's very unsatisfying if you know exactly how to configure this thing yourself...

Probably I'll write a manual for EnlargeIt! before I redo the config page.  ;D
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Phill Luckhurst on December 04, 2008, 10:54:09 pm
I decided to use this on one site and it has worked really well.

This plugin is rapidly growing into a one and only plugin to do everything. Well done. I owe you a pint.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Shane on December 05, 2008, 02:08:48 am
Timo, I have another (easy I hope) question for you...

I've downloaded the latest version of the EnlargeIt! package and have installed it on a "play site" I am building (link (http://philmontforum.com/shanehoffman.com/cpg/index.php)).  This version works perfectly - at least with the single photo I have uploaded so far.

My question is this:  How can I get rid of the "RANDOM IMAGES" table row above the slider.  I'd like to have just the slider load with no "label" above it.  I've gone through all of the slider code, but I know about as much about code as I do about brain surgery.

Thanks again for such a wonderful plugin.

Shane
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 05, 2008, 08:24:27 am
Timo, I have another (easy I hope) question for you...

I've downloaded the latest version of the EnlargeIt! package and have installed it on a "play site" I am building (link (http://philmontforum.com/shanehoffman.com/cpg/index.php)).  This version works perfectly - at least with the single photo I have uploaded so far.

My question is this:  How can I get rid of the "RANDOM IMAGES" table row above the slider.  I'd like to have just the slider load with no "label" above it.  I've gone through all of the slider code, but I know about as much about code as I do about brain surgery.

Thanks again for such a wonderful plugin.

Shane

Open codebase of slider plugin.

Find
Code: [Select]
        starttable("100%", $lang_meta_album_names[$SLIDERSET['slider_album']]);and change to
Code: [Select]
        starttable("100%", "");
regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Phill Luckhurst on December 05, 2008, 10:23:55 am
The new version works a treat in Safari and FF but in IE7 (at least for me) I cannot copy and paste the bb code to the clipboard. Just going through my IE settings to see if I can work out why
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 08, 2008, 01:57:10 am
Nasty IE bug. I'll think about a solution.

BTW - nice new way to open a pic directly after loading the page:
http://cpgdev.timos-welt.de/cpg1416/thumbnails.php?album=4&enlarge=34

Hmmm now how to combine these... ;)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 08, 2008, 07:30:56 pm
Edit 2008/12/09: Removed file because next beta is released

Just released a new beta version - v2.14b6.

Changes since v2.13:
---------------------


Please make sure to correctly uninstall any previous version before installing this version, and empty your browser cache when done!

Demo gallery (http://cpgdev.timos-welt.de/cpg1416/?theme=water_drop).

Have fun!
Timo

Edit 2008/12/09: Removed file because next beta is released
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Phill Luckhurst on December 08, 2008, 07:52:45 pm
You sir, are a star. Brilliant piece of work. The beers I owe you are adding up. :)

Here it is working on my live site :- http://www.windsurf.me.uk

I have modified the Bb bit to show normal_ images instead of the default thumb_ and now it is perfect for my wants.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on December 08, 2008, 07:59:34 pm
Timos. Cheers dude, nice work  ;)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 08, 2008, 09:02:57 pm
You sir, are a star. Brilliant piece of work. The beers I owe you are adding up. :)

Here it is working on my live site :- http://www.windsurf.me.uk

I have modified the Bb bit to show normal_ images instead of the default thumb_ and now it is perfect for my wants.


Thanks very much, your implementation is beautiful!
Some things I have to do playing around with your gallery:
* For videos without title, the buttons are not displayed right-aligned as they should
* BBCode and histogram for videos don't make sense - the buttons should be hidden for anything else then pics

Please post your modifications to enl_bbcode.php - perhaps others will find them useful!

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Phill Luckhurst on December 08, 2008, 09:48:47 pm
Thanks very much, your implementation is beautiful!

Thanks


Please post your modifications to enl_bbcode.php - perhaps others will find them useful!


It wasn't exactly brain surgery but for those who need the intermediate sized pic to be displayed in their forums instead of the thumb simply open enl_bbcode.php from your gallery root and change the line

Code: [Select]
$thumb_url = get_pic_url($CURRENT_PIC_DATA, 'thumb'); //thumb url

to

Code: [Select]
$thumb_url = get_pic_url($CURRENT_PIC_DATA, 'normal'); //thumb url


Good call on hiding the buttons. Just when you think something is perfect you find something to improve upon. That's life I suppose :)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 08, 2008, 09:53:02 pm
Good call on hiding the buttons. Just when you think something is perfect you find something to improve upon. That's life I suppose :)

No, that's what beta versions are for :)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 08, 2008, 10:28:53 pm
Just exchanged today's beta file. Two fixes:
- buttons for histogram and bbcode were visible for videos
- buttons were left-aligned for videos without title

Now I can sleep well.  :D
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Phill Luckhurst on December 09, 2008, 02:40:44 pm
I'll change my install tonight.

I mentioned the changes on a windsurfing forum where most of the uploads come from. The comments were all positive.

http://www.boards.co.uk/forum/forum_posts.asp?TID=23667&PN=1&TPN=1
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 09, 2008, 06:45:16 pm
Edit 2008/12/11: Removed file because v2.14 is released

Just released a new beta version - v2.14b7.

Changes since v2.13:
---------------------


Please make sure to correctly uninstall any previous version before installing this version, and empty your browser cache when done!

Demo gallery (http://cpgdev.timos-welt.de/cpg1416/?theme=water_drop).

Have fun!
Timo

Edit 2008/12/11: Removed file because v2.14 is released
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: makatron on December 09, 2008, 08:10:56 pm
i started using this plugin like 4 months ago and my users just love it!! and i came here yesterday and finally Timo added the comment snippet xD how cool is that!!

hey mate is there a way to make it preload the next 2 or 3 pictures instead just one?

here a link to my gallery (everything in spanish lol)

http://www.fotobonche.com/galeria/index.php
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on December 09, 2008, 08:58:37 pm
<!--Coppermine Photo Gallery 1.4.16 (stable)-->

Upgrade. A.S.A.P.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: makatron on December 09, 2008, 09:01:03 pm
im upgrading right now mate i was just being lazy/busy these days but im waiting less traffic hours to complete the upgrade (around 21:00 hours)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 11, 2008, 07:07:27 pm
v2.14 is finally released. :)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ksawery on December 12, 2008, 02:59:50 pm
Great!  :D
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: firas on December 15, 2008, 09:24:23 am
Hi

thanks a lot for this great plugin. it is really the best.

I installed it on my page and it was working well untill i enabled the Joomla Bridge. after that funny things start to happens.

for example:
1- i can only open one photo. if i try to open another one, the page just become big and the photo is opened but i don't know where.
2- same thing happens if i try to enlarge the photo.

here is the link so that you can understand what i'm saying well.

please help ASAP
Regards
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: firas on December 15, 2008, 10:30:26 am
sorry for the second post but i just discovered that this problem is only with Internet Explorer. Firefox and safari work perfectly.

also, i wanted to add that i'm using Mehdi's Coppermine Bridge
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: firas on December 15, 2008, 12:29:50 pm
sorry again...forget to add the link

http://lightsymphony.net/gal/

regards
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 15, 2008, 05:51:48 pm
I have no idea, sorry. I'd start by fixing your html (http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Flightsymphony.net%2Fgal%2F).
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Phill Luckhurst on December 15, 2008, 05:56:34 pm
This is not a problem with the plugin but something wrong with your page.

In your template_css.css file you seem to have the line
Code: [Select]
direction:rtl; Which is known to cause problems in IE.

This is not related to this plug-in so you will have to discuss it in the relavent place.

**edit - Cross posted with Timos there **
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: firas on December 15, 2008, 06:31:49 pm
thanks a lot 4 replying.

the strange thin is that it is working well without the plugin and it also works if i disable the Bridge.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 19, 2008, 04:38:15 pm
The original Javascript (not this plugin) has finally made it to version 1.1:
http://enlargeit.timos-welt.de/english/11/

The PDF documentation might interest some users of this plugin; many things are explained in detail there that are also valid for the EnlargeIt! CPG plugin.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: makatron on December 20, 2008, 09:46:09 am
im having a little problem with the new version, when users right click over the full images (i skip medium ones) they arent able to download the picture all they can save is the blank.png any way to prevent this to happen?

in firefox when i right click im able to save the full picture but 79% of my traffic comes from IE

any suggestion?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: georgeandjacks on December 21, 2008, 05:45:29 am
Hello,

First off, I would like to thank Timos-Welt for this terrific plug-in.

Second, I am trying to get what's happening to makatron to happen to me as I don't want users downloading images.

I have this add-on currently installed http://forum.coppermine-gallery.net/index.php?topic=33782.0 (http://forum.coppermine-gallery.net/index.php?topic=33782.0) but when I use Enlargeit, it doesn't work any more.

How would you go about having it work with Enlargeit?

Thanks in advanced.

Link to gallery is: http://ederphotography.site50.net/cpg1419/index.php (http://ederphotography.site50.net/cpg1419/index.php)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: makatron on December 21, 2008, 09:07:04 am
the thing is that my website is a nightlife picture kind of site so i want the ppl being able to download their images
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 22, 2008, 05:04:34 pm
I can't remember announcing EnlargeIt! as 'the plugin where people can download your pictures', nor as 'the plugin where noone can download your pictures'. In fact, the plugin does nothing at all to avoid or realize that.

If you want to make sure that everyone can download your pictures, write yourself an AJAX snippet for that purpose (there's already a few of them in folder toGalleryRoot). Shouldn't be too difficult, use the BBCode one as base for your own implementation and don't forget to contribute your code here.

If you want to make sure that noone can download your pictures, simply do not up them on the web.

If EnlargeIt! doesn't do what you need, uninstall it or improve it and contribute.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: makatron on December 22, 2008, 06:39:20 pm
the funny thing is that i was reading the code to write a snippet to add a download button

ill post something here when im done

once again timo, the plugin is so friggin awesome!!

hey where can i mod the code so i can pre-load 2 or 3 next pictures instead just the next one?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 23, 2008, 01:02:14 am
where can i mod the code so i can pre-load 2 or 3 next pictures instead just the next one?

Get latest version of enlargeit_source.js here (http://enlargeit.timos-welt.de/english/11/building_blocks.php).

Find this function:
Code: [Select]
function enl_makedraggable(enl_imgid)
The code that pre-loads the previous and the next pic is this one:
Code: [Select]
  if (enl_preload)
  {
    for(var enl_i=0; enl_i<2; enl_i++)
    {
      enl_nextpic = enl_getnext(enl_imgid,enl_i);
      if (enl_nextpic)
      {
        enl_pictoget = enl_nextpic.getAttribute('longdesc');
        setTimeout('enl_preloadit("'+enl_pictoget+'")' ,30);
      }
    }
  }

Don't misunderstand the loop. This code calls a function named enl_getnext that takes two parameters: The id of the current pic, and a flag. If the flag is 0, it will check for a previous pic. If the flag is 1, it will check for a next pic.

You could use some kind of iteration to make it preload the next 2 and the previous 2 pictures. Replace the above code with this:

Code: [Select]
  if (enl_preload)
  {
    for(var enl_i=0; enl_i<2; enl_i++)
    {
      enl_nextpic = enl_getnext(enl_imgid,enl_i);
      if (enl_nextpic)
      {
        for(var enl_j=0; enl_j<2; enl_j++)
        {
          enl_morenextpic = enl_getnext(enl_nextpic.id,enl_j);
          if (enl_morenextpic)
          {
            enl_pictoget = enl_morenextpic.getAttribute('longdesc');
            setTimeout('enl_preloadit("'+enl_pictoget+'")' ,30);
          }
        }
        enl_pictoget = enl_nextpic.getAttribute('longdesc');
        setTimeout('enl_preloadit("'+enl_pictoget+'")' ,30);
      }
    }
  }

Then use this packer (http://enlargeit.timos-welt.de/packer/) to generate enlargeit.js out of your modified enlargeit_source.js.

The result: Two pics in each direction are preloaded automatically. Hope this helps a bit.

Probably I'll include real iteration somewhen.

regards
Timo

Edit: Typo.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: georgeandjacks on December 24, 2008, 08:28:14 am
Hello,

I was wondering which file I have to edit to alter what's displayed in the title bar (where the info buttons and image title is) when an image is zoomed in.

I am trying to add Stramms shopping cart menu into it but am not sure whether it will work or not and wanted to try it out.

Thanks in advanced.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 24, 2008, 03:27:39 pm
Hello,

I was wondering which file I have to edit to alter what's displayed in the title bar (where the info buttons and image title is) when an image is zoomed in.

I am trying to add Stramms shopping cart menu into it but am not sure whether it will work or not and wanted to try it out.

Thanks in advanced.

First try to understand how EnlargeIt! (http://enlargeit.timos-welt.de) (the Javascript) works. Then have a look how the plugin uses it.

Read this (http://enlargeit.timos-welt.de/english/11/Enlargeit_11_Operation_Manual_ENGLISH.pdf), especially the chapter about buttons in general and AJAX buttons. Afterwards, have a look at codebase.php and understand how the buttons are realized. Shouldn't be too hard.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: georgeandjacks on December 25, 2008, 12:04:01 am
Thanks for your quick and helpful response.

I will post again if I run into issues or if it works.

Thanks again.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Scope on December 28, 2008, 09:26:16 am
How do you resize the window if you want to display youtube videos? 

Im linking in to a HD video I have uploaded but it will only display half the size compared to when I view it directly through youtube.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 28, 2008, 11:31:47 am
How do you resize the window if you want to display youtube videos? 

You can't. The video size will be identical for all YouTube videos. It is defined in codebase.php, you can change it there globally. Find this line and have a look at its end (480/385):

Code: [Select]
else if ($enl_filetyplower == 'ytb' ) $neu_str .= '"><img '.$enl_pluscursor.'src="'.$match[2].$CONFIG['thumb_pfx'].$match[3].'" longdesc="swf::'.str_replace(".jpg","",str_replace("youtube_","http://www.youtube.com/v/",$CURRENT_PIC_DATA['filename'])).'&amp;fs=1&amp;rel=0::480::385';
regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Shane on January 19, 2009, 02:12:09 am
Timo, I have a quick question.

Is there any way to have enlargeit show the photo description when you mouse over the "open" or "enlarged" photo?  Load the photo's description in a alt tag?

Thanks!
Shane
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on January 19, 2009, 08:10:24 am
Internet Explorer often 'forgets' tool tips on the screen, showing them although the picture is already gone, which leads to a significant drop in animation performance on slower computers. Precondition for a fluent animation is the absence of any kind of browser generated tool tips. Only solution would be to write a function to generate own little boxes on screen that look like tool tips but that are controlled by the javascript and not by the browser, but that's big effort for small benefit, so I probably won't do it. Feel free to add such a functionality to the EnlargeIt! javascript if you like.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: rms26 on January 20, 2009, 10:50:27 am
hi, great job !! I really like your plug, simply a little question, is there any way to use enlageIT! only on certain pages/ Album ? ( ex : just on index and one specific album )
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on January 20, 2009, 12:46:39 pm
Open codebase.php with a text editor.

Find this line:
Code: [Select]
$html = str_replace($match[0],$neu_str,$html);
This is the actual replacement of the thumbnail code; you can add conditions here.

An example - replace the line by this:
Code: [Select]
if ((strpos($REQUEST_URI,"index")==true) || ($CURRENT_PIC_DATA['aid'] == 1))
{
  $html = str_replace($match[0],$neu_str,$html);
}

EnlargeIt! will only be active now if the string "index" is found in the URL, or if the pic's album ID is 1. This solution may not be exactly what you're looking for, but you will surely understand how it works and find out yourself what you want.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Phill Luckhurst on January 20, 2009, 03:39:09 pm
Is there any way to make the arrows jump to the next page of thumbs at the end of a page. Having to come out of EnlargeIt, click on the next tab then re-open EnlargIt seems a little clunky.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on January 21, 2009, 09:24:12 am
I don't think that something like this can be realized with a plugin. The plugin doesn't know if there are more files; it changes the source code on a per-thumbnail-basis.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: pixel on January 31, 2009, 03:01:00 am
Hi guys. great plugin which ive been using for the last two days and all seems to run really smooth.
One thing i have noticed though, maybe its just me being thick but, i cant find anyway to delete an image from the gallery since using this plugin.

Also while this plugin is really fantastic, would it be possible to still use the ecard funtion, cant seem to get to it since using Enlargeit.

Thanks

Warm regards

Pixel
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Phill Luckhurst on January 31, 2009, 10:15:15 am
If you are in admin mode the standard interface should be available, unless you have configured Enlargit to operate in admin mode of course.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: pixel on January 31, 2009, 02:21:11 pm
Thanks yes, ive found that i can delete a file using edit files in each individual album,so thats good. Just wondered about this ecard function, members do seem to like it, and i cant seem to get to it since using Enlargit

regards

Pixel
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ff on February 08, 2009, 10:50:47 pm
Hi,

Just loving it :D

1 little question and 1 remark.

1) At http://www.ff.fm/fotoalbum/thumbnails-13.html I've got .flv-files.
OS = Fedora 10 (me)
Firefox : movies will play in either setting 'OS FLV' and 'rphMedia'
Opera : movies won't play in either setting

OS = Windows Vista (friend)
Firefox + MSIE

I thought maybe this (http://forum.coppermine-gallery.net/index.php/topic,34182.0.html) would interfere, but then the other browsers should have problems to?

Is this an error at my side with opera, or did I do something wrong with the plugin, or is it a (known?) bug?

2)
In Firefox the slider doesn't give the magnifier glass, but my normal pointer hand. Opera doesn't give the magnifier at all.

I edited ./plugins/slider/codebas.php and changed
Code: [Select]
.sliderimg { cursor: pointer; }to
Code: [Select]
.sliderimg { cursor: url(plugins/enlargeit/js/pluscur.cur), pointer; }
Opera doesn't support this style declaration at all.

Maybe you can add something like this to the readme of slider?


As said.
I love your plugins.

Thank you very much.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ff on February 09, 2009, 09:06:43 am
I've found another 'problem'.

I'm jusing the Flickr like annotation from Nibbler (http://forum.coppermine-gallery.net/index.php/topic,41715.0.html).

Is it possible to have this layver put over the image which is shown by EnlargeIt!?
Or must I ask this question on the thread of that plugin?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ff on February 09, 2009, 02:36:30 pm
I know I've got the flu, but am I missing stuff?

1. When having a picture maximized, why can't I reset it to the previous size?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on February 09, 2009, 04:09:39 pm
Opera : movies won't play in either setting
Works fine here in Opera under Windows and Linux. Most probably a configuration issue on the client systems. Check if other flash files work correctly.

Quote
...magnifier glass...

Optical gimmick. It is meant to work only in certain browsers, because some of them (e. g. IE6) have animation performance issues when using custom mouse cursors. Opera doesn't support this style declaration at all, that's absolutely correct. You're a wise man.

Quote
Flickr like annotation from Nibbler
Not compatible.

Quote
When having a picture maximized, why can't I reset it to the previous size?
Because it does not make sense to do it. If you want both kinds to be available to the visitor, the only reason for intermediate sized files is to avoid loading the full size pic. Once the big one is loaded, there's absolutely no need for an intermediate sized file anymore.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ff on February 09, 2009, 05:08:30 pm
Works fine here in Opera under Windows and Linux. Most probably a configuration issue on the client systems. Check if other flash files work correctly.

Guess you're right.
Plugin is installed (via yum-repos) but doesn't work indeed.
I use Opera mearely to test normal pages :)

Quote
Quote
Flickr like annotation from Nibbler
Not compatible.

To bad. I wanted to put the pictures of my schoolclasses online and annotate the heads of the people on it.

[/quote]

A nutcase can ask more questions than a wise man can answer :D
Thank you wise man.

*coocoo*
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: togi on February 14, 2009, 02:10:29 am
i am not sure if this is the right place to put this.. but here goes..

how do i put a copyright notice on the pop up image?
text - "all photos are copyrighted by their respective owners, copying in full or part is punishable by law"

thanks!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Heroe on February 14, 2009, 01:50:01 pm
Hi Timos-Welt grate plugin,thanks.I want to ask you something;
I install your plugin and it work perfect... but in my gallery i uploading via batch upload and because i have the histogram enabled every time when i uploading pictures i have also histogram (i have to unmark all the histogram.png files :(  ) do you know if its possible the histograms to dont appear in the batch upload list when i trying to upload pics,because i have to manually unmark them every time from the list with the files to upload ?

Thank you  :)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ogio71 on February 15, 2009, 04:30:32 pm
Hi...
A very good job.
I used a little coppermine.
Now I would like to have my own gallery, so I'm checking plugins, and I'm trying to learn about coppermine.
My know how on PHP and other related with Web is very poor, so I have to ask here.

If I use EnlargeIT, I'm unable to vote, comment and so on when a picture is enlarged.
The button show me that the page enl_info.php?pid=202&enl_img=sliderpic28clone&enl_rndit=1511 is not found.

Do I have to install or configure something else?
Tnx
 Ambrogio
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ogio71 on February 15, 2009, 04:34:28 pm
The button show me that the page enl_info.php?pid=202&enl_img=sliderpic28clone&enl_rndit=1511 is not found.

Do I have to install or configure something else?
I'm sorry
I mistaked the upload of the php files on the root of the gallery.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ff on February 17, 2009, 02:49:07 pm
I've been looking for a way to add the caption beneath the picture, but can't find it.

What file is opened when you click an image?
codebase.php?
enlargeit.js?
or one of the enl_*.php files in the root?

I just don't seem able to locate the first 'page'.

(and I don't understand js and ajax ;))
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on February 18, 2009, 08:02:33 pm
The original EnlargeIt! javascript is not designed to display the caption beneath the picture, so you'll probably find yourself having a very hard time realizing this. Sorry - not possible out of the box.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Cath22 on February 21, 2009, 11:59:50 am
Hi there, first off, this is plugin is so sweet, its the best I have come across but at some point it interferes with my statistics....
I use this plugin together with the slider and i also use http://forum.coppermine-gallery.net/index.php/topic,23945.0.html the Detailed Statistics Mod.

I found that the button to the statistics gives a blanc screen if the EnlargeIt is activated. When I deactivate it for admin it works when I am logged in. I can live with that, but the real problem lies in the fact that when you click on a foto through the slider or anywhere else the coppermine counter does count it, but will not be shown in the Last viewed pictures (display_thumbnails('lasthits', $cat, 1, $CONFIG['thumbcols'], 3, true);)
Also the view count does not add up.
If I disable EnlargeIt for guests also the standard picture viewer from Coppermine is back and when clicked on a picture it is also shown in Last viewed pictures. But I offcourse would like to use the EnlargeIT instead of the standard viewer since it so much better, and you get even the slider in categories.

So is it possible to have the last viewed pictures and the view count also to record the pictures that are shown through EnlargeIT ?

Thanks
Cath
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on February 24, 2009, 01:33:29 am
It is not possible for me to release something like this plugin and make it work together with any other plugin or even thousands of available mods.
If it works with certain mods: Fine.
If not: Decide what's more important for you, and either undo the mod, or uninstall EnlargeIt!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Cath22 on February 24, 2009, 02:34:32 pm
It is not possible for me to release something like this plugin and make it work together with any other plugin or even thousands of available mods.
If it works with certain mods: Fine.
If not: Decide what's more important for you, and either undo the mod, or uninstall EnlargeIt!

Understandable, I would choose for EnlargeIt, no doubt, but just to make sure, after some checking I believe the things I mentioned are standard things from CPG, I only use the mod to produce a better view of the statistics.
Maybe I am wrong, since I dont know so much of CPG  :-[ Can you let me know if the viewcount of pictures is working with you when using the EnlargeIt view? (if so than I have to remove some modification) .
I believe the same would apply for the last viewed pictures.
Thanks
Cath
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Phill Luckhurst on February 24, 2009, 10:53:37 pm
View count works for me as expected. The standard view counter only works for users, not for admins.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: purplefreak3 on March 18, 2009, 04:57:34 am
Hello this plugin is great feature it is really nice, I have 2 galleries and a test gallery, it works fine with 1 of the galleries and the test gallery but the other one I have a Permanent image links mod and with that one it don't work I was wondering if it would be possible for the two to work together or if I will have to choose which one I want..

Here is the link to the Permanent image links mod thread I use.
http://forum.coppermine-gallery.net/index.php/topic,49953.0.html (http://forum.coppermine-gallery.net/index.php/topic,49953.0.html)

Thank You for your time.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jimbeam2 on March 18, 2009, 10:30:43 am
Hello, I hope this is the right place to post a problem. First, let me tell you that this plugin is great, brings fresh air to my old photo gallery! And the problem...

Installation and operation is fine, except that when I enable the slider or/and imageflow plugins, I cannot browser user categories anymore. I get the "There was an error while processing a database query" error. But the slider/imageflow and enlargeit work fine in the first page. Could you please help??? I use the 2.14 version with the included plugins.

Thanks in advance, I hope there's a solution...
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on March 18, 2009, 10:42:43 am
@purplefreak: read this (http://forum.coppermine-gallery.net/index.php/topic,53290.msg285935.html#msg285935)
@jimbeam2: post a link to your gallery
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jimbeam2 on March 18, 2009, 10:52:40 am
gallery is at http://entefktirio08.codepoets.gr but it gives the error I mentioned if you log in as a guest or registered user. So I could only give you an admin pass. But how?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on March 18, 2009, 11:23:27 am
If you trust me, send me admin data to your gallery via PM, I'll have a look at it and try to find the bug.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jimbeam2 on March 18, 2009, 11:26:25 am
If you trust me, send me admin data to your gallery via PM, I'll have a look at it and try to find the bug.

Ok, done that. I have also made this little progress: The debug msg is:

Code: [Select]
There was an error while processing a database query.

While executing query "SELECT * FROM cpg14x_pictures AS p WHERE filename like '%.jpg' AND filename not like 'youtube_%' AND approved = 'YES'  AND cpg14x_pictures.aid IN (4,5,6,7,8,9,13,14,15,17,18,26,21,22,23,24,25)  ORDER BY RAND() LIMIT 16" on 0

mySQL error: Unknown column 'cpg14x_pictures.aid' in 'where clause'

File: /var/www/vhosts/codepoets.gr/subdomains/entefktirio08/httpdocs/include/functions.inc.php - Line: 250 

and if I open the relevant codebase.php for the slider plugin, I notice the code:

Code: [Select]
$slider_query = "SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE filename like '%.jpg' AND filename not like 'youtube_%' AND approved = 'YES' $slider_FORBIDDEN_SET $META_ALBUM_SET ORDER BY RAND() LIMIT $sliderlimit";
which means that the
Code: [Select]
$slider_FORBIDDEN_SET $META_ALBUM_SET is causing trouble...

Did this help at all???
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jimbeam2 on March 18, 2009, 11:44:50 am
Ok, by deleting the above offending entry, problem seems to be fixed...

I will return if not!

Thanks for offering a hand mate...
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on March 18, 2009, 12:17:06 pm
I can reproduce it here. If one of the devs reads this:
The resulting query is something like
Code: [Select]
SELECT * FROM cpgdev1416pictures AS p WHERE filename like '%.jpg' AND filename not like 'youtube_%' AND approved = 'YES'  AND cpgdev1416pictures.aid IN (4,5,6,7,8,9,13,14,15,17,18,26,21,22,23,24,25)  ORDER BY RAND() LIMIT 16
MySQL doesn't like the part
Code: [Select]
cpgdev1416pictures.aid and reports that it can't find the table. Simply replacing it by
Code: [Select]
aid makes the query work. This one comes from one of the two variables $FORBIDDEN_SET or $META_ALBUM_SET. I can't remember having any problems with this in previous CPG versions. Any help?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jimbeam2 on March 18, 2009, 02:22:27 pm
Hello again, another question that bugs me...

Is there a way to mess with the enlarged template so that it displays comments under the image? (scrollable would be the best)

Thanks
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on March 19, 2009, 02:10:35 pm
Just released v2.15beta1 (edit: removed attached file because newer beta is released).

Changes:
- implemented a first version of an eCard feature, but it is NOT working correctly yet, so please turn it off for now
- smaller page source code, pics don't need IDs anymore
- greatly improved display of scaled images in IE7 and IE8 (bicubic resize) if pic is bigger than browser window
- new setting on config page: shadow color

If you like to try it out, please uninstall the previous version before installing the new one, and don't forget to clear your browser cache after installing.

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on March 20, 2009, 09:23:22 am
Installed it and tried it. Works perfectly. Indeed a good improvement for IE users. Thanks Timos.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: steve6one7 on March 21, 2009, 08:41:34 pm
Hello Timos-Welt,

I have several feature requests for your plugin and was hoping I could schedule a time to speak with you to go over pricing and availability. As I understand it you are actively working on the code as a side project and have been releasing revisions to coppermine users at no cost. I was hoping you could integrate these features and am willing to compensate you for your time. I read through the previous postings and noticed several of these features have already been requested.

Request Summary:

1. New AJAX navigation buttons to allow downloading of fullsize image.

2. New AJAX navigation button to allow ecard function (noticed this in your latest beta release)
 
3. Display associated comments below the picture in a scoll box or show one comment with a "see all comments" button that goes to the existing comment snippet.

4. Slideshow feature that supports play, pause, and stop with a slidebar where users can control the speed.

5. A method for forwarding to the next page in a multipaged album once the last picture has been reached

6. A method for going back to previous page once the first picture on a secondary page has been reached (request 3 reversed)

7. Addition of smileys in the existing comment ajax snippet .

8. Option to allow adding content that displays in the AJAX GUI above or below the photos.

9. Would like the ability to enable and disable these features via the config page. For request 8 i'd like it to support modifying the color of the text along with bold, italic, and underline. For the slideshow i'd like it to refrain from closing and opening the images but instead keep the gui open and flip through the pictures.


Thank you in advance,


-Steve

 
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on March 22, 2009, 01:29:06 pm
pricing and availability
Sorry, at them moment I am not interested in doing this for money. I code this plugin and the EnlargeIt! script as a hobby in my spare time. BUT: I like some of your feature requests and thank you for them.

1. New AJAX navigation buttons to allow downloading of fullsize image.
Nice one and very easy, I will include this with the next release.

2. New AJAX navigation button to allow ecard function (noticed this in your latest beta release)
Will also be included in next release.
 
3. Display associated comments below the picture in a scoll box or show one comment with a "see all comments" button that goes to the existing comment snippet.
I will think about it for the next major release of the script (currently v1.1), but this will take some time.

4. Slideshow feature that supports play, pause, and stop with a slidebar where users can control the speed.
Nice one, I'll think about it.

5. A method for forwarding to the next page in a multipaged album once the last picture has been reached
6. A method for going back to previous page once the first picture on a secondary page has been reached (request 3 reversed)
I don't think this is possible without changing the core code of coppermine. The plugin currently does not 'know' if there are more pics or not. Probably I'll ask the devs to give me a possibility with cpg 1.5.

7. Addition of smileys in the existing comment ajax snippet .
Not possible.

8. Option to allow adding content that displays in the AJAX GUI above or below the photos.
See 3.

9. Would like the ability to enable and disable these features via the config page. For request 8 i'd like it to support modifying the color of the text along with bold, italic, and underline. For the slideshow i'd like it to refrain from closing and opening the images but instead keep the gui open and flip through the pictures.
Noted.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: steve6one7 on March 22, 2009, 03:37:38 pm
Thank you for taking my requests into consideration. Your plugin greatly enhances the visualizations in coppermine and I look forward to your future releases.
I understand you work on the script in your spare time as a hobby. I'm not sure how much free time you have and need the requested features integrated. Do you have an associate that could assist in the development of the next revision? I am willing to fund the project in order to shorten the completion date.




Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: steve6one7 on March 22, 2009, 08:13:43 pm
Just wanted to share an additional feature request I accidentally left out in the previous posting.. Would it be possible to add another AJAX Snippet button to incorporate the "addthis" button? (http://www.addthis.com/) It is a button that detects the page it is on and then allows the user which service to share the link to. I believe the code is ready to adapt you just need to create a button in order to integrate it into the AJAX gui. This would allow users not only to use the ecard function to e-mail the photo but also to post it to other social networking sites with a click of a button.

Thank you in advance and look forward to hearing your feedback


Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on March 23, 2009, 04:29:13 pm
Just released v2.15beta2 (edit: removed file because newer beta is released).

Changes:
- implemented a first version of an eCard feature, but it is NOT working correctly yet, so please turn it off for now
- smaller page source code, pics don't need IDs anymore
- greatly improved display of scaled images in IE7 and IE8 (bicubic resize) if pic is bigger than browser window
- new setting on config page: shadow color
- new button for downloading pics

If you like to try it out, please uninstall the previous version before installing the new one, don't forget to clear your browser cache after installing, and don't forget to copy the files from toGalleryRoot to your gallery root.

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on March 24, 2009, 09:21:17 am
Timos good morning. I uploaded the beta and all is working well. Would it be possible to add the option that a admin can select the download button to be avaible only to registered users?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on March 24, 2009, 11:08:30 am
Just released v2.15beta3 (edit: removed file because newer beta is released - scroll down!).

Changes from 2.14:
- implemented a first version of an eCard feature, but it is NOT working correctly yet, so please turn it off for now
- smaller page source code, pics don't need IDs anymore
- greatly improved display of scaled images in IE7 and IE8 (bicubic resize) if pic is bigger than browser window
- new setting on config page: shadow color
- new button for downloading pics

Changes from beta2:
- improved download snippet
- download button can now be set up only for registered users

If you like to try it out, please uninstall the previous version before installing the new one, don't forget to clear your browser cache after installing, and don't forget to copy the files from toGalleryRoot to your gallery root.

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on March 24, 2009, 11:41:17 am
Download button does not appear on the bar. The function is there but the icon is missing. I first thought it had something to with the compressHTML plugin but that was not it. Moving the enlargedit plugin before the slider plugin does not solve the problem. Any idea?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on March 24, 2009, 11:57:21 am
Please clear your browser cache and make sure that you updated all files correctly to the newest version.

Works fine here: http://cpgdev.timos-welt.de/cpg1416
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on March 24, 2009, 01:14:27 pm
Reupload every file. Cleared cache. No luck so far. All the other icons do display as expected.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on March 24, 2009, 04:32:21 pm
Your gallery works fine for me? See screenshot.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: steve6one7 on March 24, 2009, 04:37:02 pm
Downloaded and tested v2.15beta2 and v2.15beta3 and both worked.

Tested as admin with admin mode enabled in config - Successful
Tested as admin with admin mode disabled in config - Successful
Tested as guest with guest mode enabled in config - Successful
Tested as guest with guest mode disabled in config - Successful
Tested as registered user with guest mode disabled in config - Successful

The Download button is shown according to the rules set forth in the config. Everything appears to be working with the plugin in my installation of coppermine.

Thank you for adding the download button Timos-Welt. I know you were working on the ecard function and I sidetracked you with the download button request. Just wanted to let you know I appreciate your work.


Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on March 24, 2009, 07:05:30 pm
Right. I'm going to put my clue-bat to use tomorow on the systems admin. Tracked it down to a malfunctioning ISA server at work.. At home the problem dissapears like snow for the sun. Timos, great work!  :D
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on March 25, 2009, 08:50:53 am
Yeah, and if you remove the BOM from your gallery, it might even display the AJAX snippets without the leading grey line.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on March 25, 2009, 03:15:56 pm
Just released v2.15beta4 (edit: removed file because newer beta is released).

Changes from 2.14:
- new button for eCard
- smaller page source code, pics don't need IDs anymore
- greatly improved display of scaled images in IE7 and IE8 (bicubic resize) if pic is bigger than browser window
- new setting on config page: shadow color
- new button for downloading pics/files

Changes from beta3:
- improved download snippet
- eCard snippet now working

If you like to try it out, please uninstall the previous version before installing the new one, don't forget to clear your browser cache after installing, and don't forget to copy the files from toGalleryRoot to your gallery root.

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: steve6one7 on March 25, 2009, 11:05:54 pm
When using the ecard function it auto detects the username and e-mail address but it doesn't use it correctly once the mail is sent.

The recipient gets an e-mail with subject:  An e-card from for you

And in the e-mail it says:   Sent by from IP x.x.x.x at Mar 25, 2009 at 10:01 PM (Gallery time)


If the user deletes the autodetected username and enters a different name manually it will work. It just doesn't work with the autodetect feature.

Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on March 26, 2009, 12:07:34 am
Post a link to your gallery for a start...
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on March 26, 2009, 08:56:43 am
I think I've found the bug.

steve6one7: Does the attached  enl_ecard.php fix it?

Edit: Removed file
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: steve6one7 on March 26, 2009, 01:45:08 pm
That patch did resolve the name issue in the e-mail but if the recipient clicks the "Alternate link if the e-card does not display correctly" the name isn't fixed. It fills it in as: "undefined"

Also when using the ecard function once the mail is successfully sent and you click the button to go back to the ajax gui it shows a warning under the e-mail fields with "Warning: invalid email address: ()". The page thinks the user was trying to submit blank e-mail fields instead of returning from sending an e-mail.
 
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on March 26, 2009, 07:53:01 pm
Thanks for your report. Please try out the new beta.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on March 26, 2009, 10:24:00 pm
Just released v2.15beta5 (edit: removed file because newer beta is released).

Changes from 2.14:
- added e-card feature (new button)
- smaller page source code
- greatly improved display of scaled images in IE7 and IE8 if pic is bigger than browser window
- new setting on config page: shadow color (useful for dark themes)
- added download feature (new button)
- better button look in IE6 if white border is used
- new setting on config page: use hourglass mouse cursors

Changes from beta4:
- fixed a few bugs in ecard snippet
- new setting on config page: use hourglass mouse cursors

If you like to try it out, please uninstall the previous version before installing the new one, don't forget to clear your browser cache after installing, and don't forget to copy the files from toGalleryRoot to your gallery root.

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jimbeam2 on March 27, 2009, 10:17:00 am
I look forward for the final! Looks very nice! ;)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on March 31, 2009, 09:41:51 pm
Just released v2.15beta6 (see attached file).

Changes from 2.14:
- added e-card feature (new button)
- smaller page source code
- greatly improved display of scaled images in IE7 and IE8 if pic is bigger than browser window
- new setting on config page: shadow color (useful for dark themes)
- added download feature (new button)
- better button look in IE6 if white border is used
- new setting on config page: use hourglass mouse cursors
- it is not longer neccessary to copy anything to your gallery root

Changes from beta5:
- it is not longer neccessary to copy anything to your gallery root

If you like to try it out, please uninstall the previous version before installing the new one and don't forget to clear your browser cache after installing. If you used a version before 2.15b6, you can safely delete all files from your gallery root that start with enl_

Have fun!
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: jimbeam2 on April 01, 2009, 02:11:26 pm
Hello again!

Is there a way that the full comment is shown instead of only the first line followed by (...) ?

Thank you  ;)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on April 01, 2009, 07:58:41 pm
The full comment is already shown AFAIK - please post a link or a screenshot what you mean?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: purplefreak3 on April 02, 2009, 06:24:59 am
Ok the plugin is now working and it is very nice but for groups that do not have the plugin turned on for (such as admin group) or javascript disabled when you try to view images under random or most viewed, last uploaded etc it gives error message "Critical error There was an error while processing a database query." But when you view the files the long way as clicking through albums to get to the picture it works fine. Here is the error message it produces in debug mode.

Code: [Select]
While executing query "SELECT * FROM cpg1410_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT -1" on 0

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 '-1' at line 1

Please and Thank You for any help you can give.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on April 02, 2009, 09:19:48 am
Please post a link to your gallery and a test account and set EnlargeIt! settings so that it is used for anonymous users but not for registered.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Drahus on April 02, 2009, 06:21:48 pm
Hallo,
I`ve just translated this great plugin into Slovak and Czech language.
Hope it will be useful for you...

Little notice:
The EnlargeIt! plugin doesn`t work with Stramm`s cpg modpack http://forum.coppermine-gallery.net/index.php/topic,28367.0.html (http://forum.coppermine-gallery.net/index.php/topic,28367.0.html).

Thank you.

Drahus
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on April 02, 2009, 07:17:28 pm
Thanks for your contribution. I have installed the modpack together with EnlargeIt! and everything is working fine as far as I can see. But I don't use all features of the modpack. It seems to depend what is active and what isn't.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: purplefreak3 on April 02, 2009, 07:50:16 pm
Ok here the information and EnlargeIt is turned off for registered users.

http://www.beautifuljodelle.com/gallery/ (http://www.beautifuljodelle.com/gallery/)

UN:
test-account
PW:
coppermine-tester
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on April 02, 2009, 08:06:53 pm
Ok here the information and EnlargeIt is turned off for registered users.

http://www.beautifuljodelle.com/gallery/ (http://www.beautifuljodelle.com/gallery/)

UN:
test-account
PW:
coppermine-tester

I can reproduce the error. And the error goes away if you uninstall EnlargeIt!, so you are sure that it's the plugin that causes it? Can't believe that to be honest.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: purplefreak3 on April 02, 2009, 08:28:44 pm
I'm not sure what causing the error, I noticed it doing that after I installed the plugin, I'l look into it more thanks for your help.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Hein Traag on April 02, 2009, 09:20:40 pm
Did you try switching the order of the plugins?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: purplefreak3 on April 03, 2009, 08:26:42 am
Ok I got it fixed there was something wrong in my theme.php file, I had a different theme that had same layout style so I just copied it and now everything works again.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: purplefreak3 on April 05, 2009, 05:06:18 am
for me its working fine....but the problem is wen i click full size its not displaying the actual full size of the photos....instead its displaying a little larger version of the intermediate image on EnlargIt! ........  Is there any way to fix this?

Hello again after viewing some of the images I have that are really big resolution I noticed that the above quote is happening, I looked through the forum to see if there was a answer to this question and couldn't find one. Is there a way to change this? so when it displays full size it will show the actual full size. I want to try to stay away from the intermediate page if possible. Thanks.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on April 05, 2009, 01:05:18 pm
Set max button to open in a popup on the settings page.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: purplefreak3 on April 05, 2009, 05:23:10 pm
well I have it already set to show full size which most do enlarge to the full size so the max button don't appear, so there maybe a way I could get the max button to show even in the full view for the larger images?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on April 05, 2009, 05:27:39 pm
Sorry, no. Max button only appears if the intermediate file is being enlarged.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on April 05, 2009, 05:51:17 pm
Version 2.15 final is out.  ;)
Download in the first posting of this thread.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: purplefreak3 on April 07, 2009, 10:17:50 pm
Just a quick question I was wondering when a user view the Comment snippet if be able to say that they need to register to be able to post a comment. Thanks.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on April 07, 2009, 10:26:56 pm
Edit the php file of your language to your needs. You can find it in the lang directory; all you need is a text editor, for example notepad.exe.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Heroe on April 12, 2009, 03:59:34 pm
One problem, i dont know if its from my browser Sea Monkey (Linux) ore maybe is a bug, the new version don't want to open Last additions* if i try to open last addition Enlarge it stop working ;(

abroadbg.com
user: test
pass: 123654
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on April 12, 2009, 08:46:05 pm
I just visited your gallery, latest additions works fine for me with EnlargeIt!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Heroe on April 12, 2009, 09:03:09 pm
Yes they work now,but early today i try to check the latest addition and my enlargeit and slider block !
If i get again the error i will post the error log :) I forget to copy it .
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Drahus on April 13, 2009, 02:20:25 pm
Hello,
I`ve got problem, that I can`t sort out by myself. ???

The full-size pop-up window doesn`t fit to image size. It seems like it has exact sizes, that are given by EnlargeIt!

Changes in theme.php (etc. margin, padding...) in
Code: [Select]
function theme_display_fullsize_pic() don`t take any effect. Changes in script.js only make window bigger. 

I couldn`t found any solution to this mini problem in the cpg forum. The main reason of writing to this thread is the connection between the EnlargeIt and this problem. After uninstalling this plugin, the window auto changes it`s sizes depending on image sizes.

The situation now- now.jpg
The situation without enlargeIt- without.jpg

My site: http://www.dc-foto.com/gallery/ (http://www.dc-foto.com/gallery/)
Please, give me some advice how to correct it.

Thank you very much for your help,

Drahus
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on April 13, 2009, 06:30:49 pm
Unable to replicate the issue. Works as expected for me. Possibly unrelated issue: you have a double closing body tag, so there's something fishy on your page... Maybe that is confusing some browsers. Try validating your site.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on April 13, 2009, 08:11:32 pm
The full-size pop-up window doesn`t fit to image size. It seems like it has exact sizes, that are given by EnlargeIt!

Please, give me some advice how to correct it.

Thank you very much for your help,

Drahus

That's correct; EnlargeIt! doesn't now the exact size of the fullsize pic and therefore opens the pop up with a default size that should be fine for most visitors/pics.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: creativename on April 26, 2009, 07:43:50 pm
Hi, real nice plugin :) Had to disable mouse scroll wheel navigation because on boxes with vertical scroll bars, the mouse navigation would switch pictures instead of scrolling.

Is there any way to increase the size of the nav buttons at the top of an image (info, comment, etc.)?

Also, is there any way to navigate to the default picture info page (with vote rating, comments etc. all on the same page) if EnlargeIt is enabled?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on April 27, 2009, 10:45:10 pm
Is there any way to increase the size of the nav buttons at the top of an image (info, comment, etc.)?

Yes, simply resize the button graphics and replace them (clear your browser cache afterwards). See attached examples. Buttons have to be square and all buttons have to have the same size. Then edit codebase.php and correct the offset value in every line that contains the word enl_buttonoff - at the moment, these are multiples of 16; if you use the attached buttons, you must make multiples of 24 out of it.

Also, is there any way to navigate to the default picture info page (with vote rating, comments etc. all on the same page) if EnlargeIt is enabled?

Turn of all buttons except the info button and select the right option for it on the config page.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: kbubandt on May 05, 2009, 11:54:54 am
Hello Timos-Welt,

I have several feature requests for your plugin and was hoping I could schedule a time to speak with you to go over pricing and availability. As I understand it you are actively working on the code as a side project and have been releasing revisions to coppermine users at no cost. I was hoping you could integrate these features and am willing to compensate you for your time. I read through the previous postings and noticed several of these features have already been requested.

Request Summary:

1. New AJAX navigation buttons to allow downloading of fullsize image.

2. New AJAX navigation button to allow ecard function (noticed this in your latest beta release)
 
3. Display associated comments below the picture in a scoll box or show one comment with a "see all comments" button that goes to the existing comment snippet.

4. Slideshow feature that supports play, pause, and stop with a slidebar where users can control the speed.

5. A method for forwarding to the next page in a multipaged album once the last picture has been reached

6. A method for going back to previous page once the first picture on a secondary page has been reached (request 3 reversed)

7. Addition of smileys in the existing comment ajax snippet .

8. Option to allow adding content that displays in the AJAX GUI above or below the photos.

9. Would like the ability to enable and disable these features via the config page. For request 8 i'd like it to support modifying the color of the text along with bold, italic, and underline. For the slideshow i'd like it to refrain from closing and opening the images but instead keep the gui open and flip through the pictures.


Thank you in advance,


-Steve

 

Hi Timo,

VERY NICE plug-in and I just love it.

However.... I would really appreciate if especially point 4 and 5 would be integrated in a future version.
Number 5 is very interesting because it would really help forwarding beyond the current page.

Maybe I’m wrong but isn't the problem doing this, the same as doing a slideshow? The slideshow must also know the next pages files or does it not work like this?

Anyway it's a great plug-in and as you properly know people always wants’ more  ;D

Link to the gallery I’m working on if it has any interest galleri.ansif.dk (http://galleri.ansif.dk)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Sam2k on May 07, 2009, 05:15:47 pm
I'm rather inept at coding, but I would like to try and integrate this plugin (which is Awesome!) with Stramm's Photo Shop plugin.  What file in EnlargeIt do I need to edit to include php in the enlarge it box either above or below the picture?

Thanks!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on May 13, 2009, 11:15:54 am
This is not possible, because EnlargeIt! is not designed to do it. I recommend to implement an additional AJAX snippet (start by modifying an existing one like eCard or comment snippet).
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: edoitaly on May 13, 2009, 03:31:42 pm
Hi,
I have a problem when viewing flv files: when I click on a video file the "loading" animation appears and nothing happens for some time.
I guess because it loads the whole file before it shows up the "screen" with the option to play.
This is fine for little videos but it tages too long for bigger files.
How can I change so that the video can be started before it loads completely?
TNX for any help!!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on May 13, 2009, 05:44:19 pm
Link to your gallery? Which browser and browser version?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: edoitaly on May 13, 2009, 05:49:35 pm
Link to your gallery? Which browser and browser version?

Yeah, sorry for the missing link foto.edoitaly.com
I've seen that with firefox and IE8 it works correctly and only chrome has the problem.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on May 14, 2009, 12:43:06 pm
Works fine in Chrome for me. Actual link is http://foto.edoitaly.com/ (a link is something that can be clicked, "foto.edoitaly.com" is not a link, but the subdomain name only...)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: cl9m on May 17, 2009, 03:07:24 pm
hi, great plug in very nice work!!!

actualy for protect my picture, I've overlay modpack by stramm http://forum.coppermine-gallery.net/index.php/topic,33782.0.html (http://forum.coppermine-gallery.net/index.php/topic,33782.0.html)

How can I put it on EnlargeIt plugin?  ???
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on May 18, 2009, 04:58:03 pm
Not at all; EnlargeIt! doesn't support this.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: creativename on May 30, 2009, 08:59:05 pm
Quote from: creativename
Also, is there any way to navigate to the default picture info page (with vote rating, comments etc. all on the same page) if EnlargeIt is enabled?
Turn of all buttons except the info button and select the right option for it on the config page.

Sorry, but I stupidly forgot to ask - what's the right option for this (being able to navigate to the default page)? I messed around with various options but couldn't figure it out. Also does the 'Close' button need to be disabled as well?

And is there any way I could add text (e.g. 'Vote', 'Comment') below the respective buttons, hyperlinking to the right action? Thanks :)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: creativename on May 30, 2009, 09:06:00 pm
Yes, simply resize the button graphics and replace them (clear your browser cache afterwards). See attached examples. Buttons have to be square and all buttons have to have the same size. Then edit codebase.php and correct the offset value in every line that contains the word enl_buttonoff - at the moment, these are multiples of 16; if you use the attached buttons, you must make multiples of 24 out of it.
Thanks for those larger buttons, I'd been using them for a while - I just realized though that they're not displaying properly in IE. I edited the multipliers as you said, and the buttons look fine in FireFox, but in IE the sizes are off. Did I do something incompletely? I've attached a screenshot of how the buttons look in IE.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: heydi on May 31, 2009, 11:44:42 am
I use 1.4.24 with IE 7
on my localhost it works but on my site www.tisch-tennis.org (http://www.tisch-tennis.org) subpoint 'Fotoecke' I get a js-error 'enl_buttonurl is not defiened'
(access-rights should be correct, IE-options like the settings on localhost)

greetings
heydi
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: heydi on May 31, 2009, 09:54:50 pm
I use 1.4.24 with IE 7
on my localhost it works but on my site www.tisch-tennis.org (http://www.tisch-tennis.org) subpoint 'Fotoecke' I get a js-error 'enl_buttonurl is not defiened'
(access-rights should be correct, IE-options like the settings on localhost)

greetings
heydi


access-rights were not correct, sorry...
Title: Danish language file for EnlargeIt!
Post by: Mimer on June 01, 2009, 02:51:24 am
Danish language file for  EnlargeIt! 2.15.
Revision 1.1

Mimer  8)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on June 02, 2009, 12:14:14 am
Thanks for those larger buttons, I'd been using them for a while - I just realized though that they're not displaying properly in IE. I edited the multipliers as you said, and the buttons look fine in FireFox, but in IE the sizes are off. Did I do something incompletely? I've attached a screenshot of how the buttons look in IE.

That's an IE bug. Once an image file has been viewed with IE, it will keep the dimensions, even if you replace it with another file that is bigger or smaller, even if you clear your browser cache. Try on a different machine to see that I mean. I don't know a solution.
Title: Re: Danish language file for EnlargeIt!
Post by: Timos-Welt on June 02, 2009, 12:14:53 am
Danish language file for  EnlargeIt! 2.15.
Revision 1.1

Mimer  8)

Thank you very much! Will be included in next release.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Mimer on June 02, 2009, 12:18:40 am
Your welcome.
Nice plugin  ;)

Mimer  8)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: creativename on June 02, 2009, 05:20:51 am
That's an IE bug. Once an image file has been viewed with IE, it will keep the dimensions, even if you replace it with another file that is bigger or smaller, even if you clear your browser cache. Try on a different machine to see that I mean. I don't know a solution.
Thanks, appreciate it :)

I also had a couple other questions -
Quote
Turn of all buttons except the info button and select the right option for it on the config page.
Sorry, but I stupidly forgot to ask - what's the right option for this (being able to navigate to the default page)? I messed around with various options but couldn't figure it out. Also does the 'Close' button need to be disabled as well?

And is there any way I could add text (e.g. 'Vote', 'Comment') below the respective buttons, hyperlinking to the right action? Thanks :)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: radred on June 04, 2009, 06:51:47 pm
Hi,
I have a problem with EnlargeIt! instalation onto my Coppermine gallery (integrated with Joomla 1.5 by Mehdi's bridge). I get to the EnlargeIt! configuration tab (in admin menu) and then I change some settings (mainly - enabling the plugin for guests). Then I press 'Submit' button. When I go to the EnlargeIt! tab once again, I see the settings just chosen are NOT SAVED, so I only see the default 'factory' :) settings. No way to change the settings, which means I'm not able to run the plugin.. any sugestions?

I tried the following, none of which worked:
1) search the internet for solution
2) changed mode of plugin files to 755
3) the settings in the beginning of file enlargeit.js are not all necessary settings for the plugin

Maybe there is a path to the configuration file (or maybye it is stored somewhere else), where settings are, so that I could manually change them, without visual configurator.

Thanks for help, would greatly appreciate,

Radek

Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: TranzNDance on June 05, 2009, 10:04:47 am
Great plugin, Timos-Welt. I wanted to be able to navigate with keyboard arrows and this gave me what I wanted.

It seems I am missing out on the buttons, though. I enabled a few and none of them showed up. It seems to be the same issue as Pascal where the buttons don't show up, and textures failed to work. However, I'm using plain old English.

http://takethu.com/

Thanks.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: TranzNDance on June 05, 2009, 04:37:16 pm
Nevermind. It turned out that Dreamweaver didn't upload the image files because I have it set not to include .png during synchronizations. I forced the uploads and now the buttons show up.

Thanks for the great plugin.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Neosporin on June 13, 2009, 02:34:13 pm
Hey. First off, great plugin, I'm really loving it.

The only problem (and I mean the ONLY problem!) I am having is there is no "Delete" button for users to delete their uploaded photos.

For example, in default view you can allow users to delete their uploaded files but there is a button for deleting - is there a way to add a delete code without altering any of the default code?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: semmieh on June 14, 2009, 02:27:20 am
Hey it worked fine!
you are very talented!

But i have one question, is it possible to add emoticons at the comments tab.
Cause i cant see any emoticons when i'm using EnlargeIt.

Hope it can.. cause i love it!

Greets
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: quidamfotos on June 17, 2009, 09:37:53 am
Hi,

I really enjoy this plugin, and only miss one feature: is it possible to show the picture's description below the image?

To be clear, on the thumbnail page http://www.die-mertins.de/cpg/thumbnails.php?album=42 (http://www.die-mertins.de/cpg/thumbnails.php?album=42) you see the description "Der Aufzugsschacht von La Grande Arche" below the image "Struktur 1". I would like to see this text also below the enlarged image. Can this be done?

Thanks and regards

Ulrich

Public gallery: http://www.die-mertins.de/cpg/index.php?cat=3 (http://www.die-mertins.de/cpg/index.php?cat=3)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: radred on June 17, 2009, 10:37:48 am
My EnlareIt (combined with Joomla) is not working - I have problems with saving the settings

Does anyone know where is the configuration file stored, so that I could manually edit it?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Jiri on June 23, 2009, 09:32:43 am
Great Plugin!

It would be a nice feature, if you would be able, to see the uploaders Name of the Pic beside the title.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ngul on July 07, 2009, 06:30:17 pm
I've installed this great plugin but now don't work Piclen installed with RSS plugin. There's some hack?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: ngul 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)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: follett 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.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: emerz 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.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: emerz 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.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: olti 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.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on August 25, 2009, 06:09:36 pm
olti (http://forum.coppermine-gallery.net/index.php?action=profile;u=7486) is banned because of license breach (http://forum.coppermine-gallery.net/index.php/topic,57547.msg304541.html#msg304541).
Please ignore his postings.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: tamid 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.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joe Carver 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.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: tamid 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?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joe Carver 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.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: tamid 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?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Ivo007 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
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: darkheartagram 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?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: darkheartagram 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 )
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: l810th 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.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: x3 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.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: x3 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?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: tahuti 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....
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: x3 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


 ;)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on October 27, 2009, 07:26:31 am
Stop requesting in-deep code modifications for your own use in each and every announcement thread.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: x3 on October 30, 2009, 04:07:48 pm
I'm just asking. This is a support forum after all. I am asking for 'support' since I AM NOT A CODER and this is what this forum is about.
* Just my P.O.V
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: gismoat on October 31, 2009, 01:21:42 pm
Hi all,

how can i include the slideshow into the random pics?
Slider, Imageflow, Enlargelt! is Aktivated.

enlargeit.js have Mod is 0777

Gallery Link: http://arbeiter4ever.com

Manny thanks
Werner
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: tahuti on November 03, 2009, 09:56:29 pm
# Read docs before posting
# Search the board before asking questions

im guessing you still need to include the call to include it ?

per the readme in the slider folder:

How to enable:
--------------
* To enable this plugin, you'll have to add "slider" to "the content of the main page" in coppermine's config in the section "Album list view". The setting should look like "breadcrumb/catlist/alblist/slider" or similar. For details, review the documentation that comes with coppermine (inside the docs folder) in the section "The gallery configuration page" > "Album list view" > "The content of the main page".

How to configure:
-----------------
* Use the additional button 'Slider' in admin menu.

by clicking the new button mentioned just above you can define what "meta albums" the slider will display...ie random or last up etc.....



same info above goes for the imageflow.....

hope that helps....

Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: tahuti on November 03, 2009, 10:04:53 pm
and x3....read through all the posts here and you will find your answers....as they have been asked before....and this is a main rule for these forums...also if you review other threads you will find that the admins here have little tolerance for any deviation from the clearly posted rules....and attitudes...even surrounded in niceness....generally result in permanent bans....not trying to be an ass here but just trying to help....

quick answers are that any mods to this plugin are very hard to achieve unless you know javascript ajax very well....this plugin is based upon an existing script and it appears that any changes to the display of things is rather not easy to do....read through the entire thread if you have not already and you will find what i speak of and find links to the original code this is based upon....
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: gismoat on November 06, 2009, 09:08:41 pm
Hi,

Many thanks tahuti

cheers
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on November 09, 2009, 09:20:17 am
quick answers are that any mods to this plugin are very hard to achieve unless you know javascript ajax very well....this plugin is based upon an existing script and it appears that any changes to the display of things is rather not easy to do....read through the entire thread if you have not already and you will find what i speak of and find links to the original code this is based upon....

I am currently really short of time and cannot answer every question, but I do read everything that is written in this thread. Development for the Javascript part has started again (http://enlargeit.timos-welt.de/forum/viewtopic.php?t=134), and I think I will be able to realize some of the wishes. The plugin is not dead, development simply is delayed a bit for personal reasons. It is important for me to know what people want, so feel free to add your wishes to this thread. But I won't tell you a point of time when a new version will bring more features. It could be in a few weeks a few months or a year. I hope you understand.

regards
Timo
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: cl9m on November 12, 2009, 05:32:55 pm
Hi,

it's possible to add a enable or disable button for front-end user ?

 :-\


Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on November 13, 2009, 06:07:08 pm
The user can disable javascript and EnlargeIt! is gone completely... I'll think about a disable button, though.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: mrdee on November 14, 2009, 09:50:06 pm
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.

Hi Mike

Firstly, thanks to the author for a great plugin.

I just found the same issue and corrected it (I hope).  I edited the "enl_cnt.php" file, adding the bold-highlighted text into the existing line as follows:

$enlcnt_query="UPDATE `".$CONFIG['TABLE_PREFIX']."pictures` SET hits=hits+1, lasthit_ip='$raw_ip', mtime=CURRENT_TIMESTAMP WHERE (pid = '".$enlcnt_pid."')";

Regards,
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Heroe on November 18, 2009, 02:32:33 pm
Hi Timos-Welt

Can u show me if its possible the slider plugin to show random files from different albums (as now) ,BUT  just this  size 1024 x 768 pixels. I asking u because i have many pictures in different sizes and just this size (1024 x 768 pixels) looks really perfect for me.

Thanks Ivo  :)

Here is test account (im not sure you need it)

site url- http://www.abroadbg.com
username-test
password-123654


Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Phill Luckhurst on November 18, 2009, 06:01:32 pm
You could simply use the admin tools to resize all your images to 1024*768
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Icehawk on November 20, 2009, 01:11:33 pm
I have installed this plugin and it works fine.

Just some questions:
The plugin only works with images from the actual page?
It is not possible to enlarge the last image from page one and browse to the first image on page two. You can only browse back.
Will you implement this feature someday?

What about the slideshow (not the slider-plugin). Will this feature also be implemented some day?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: slavko on November 21, 2009, 06:52:19 pm
Timos, is it possoble to make opened picture in enlargeit! as a diffrent page with differernt address ?

I know, it is probably difficult, but maybe you know some way to do it.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on November 22, 2009, 11:35:52 am
That would be silly. The key aspect of enlargeit is that you never leave the thumbnails page and everything is pulled using Ajax methods. That's what this plugin is about. Using a different aspect (i.e. opening each file in a pop-up can be accomplished, but nit using this plugin. There is a load of mods/plugins available that does what you're asking for. Please stay out of the discussion for this plugin and search the board instead. If you can't find the answer, start a support request of your own on the support board.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on November 22, 2009, 06:23:38 pm
Joachim, I think he talks about something like this (has already been posted in this thread):

for the sef_url it's maybe possible to change the url picture
with swfadress and ajax  http://www.asual.com/swfaddress/ (http://www.asual.com/swfaddress/)

maybe you know this technology


This is very charming, but the script currently does not support it (yet).
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: slavko on November 23, 2009, 01:09:18 pm
Thanks Timos,

It also would be nice, if in next release, we could put some emoticons in comments, and defend them againt SPAM by using CAPTCHA.

Thanks again.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on November 23, 2009, 01:29:23 pm
defend them againt SPAM by using CAPTCHA.
Sounds a bit nonsensical to me: do you have comments in your gallery that have been entered by spam bots using the input form on the enlargeit interface? If yes please post relevant links, but I strongly doubt that. I haven't heard yet of a bot that is capable to perform the needed steps to accomplish that. Stop requesting features that you don't actually need. Just dropping some buzzwords like "captcha" won't help. I have already told you in your other threads that it's mandatory to post a link to your gallery when posting, which you failed to do in all your postings. If you can't do as suggested per board rules, then you're not allowed to post, simple as that!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: slavko on November 23, 2009, 03:31:55 pm
Sounds a bit nonsensical to me: do you have comments in your gallery that have been entered by spam bots using the input form on the enlargeit interface? If yes please post relevant links, but I strongly doubt that. I haven't heard yet of a bot that is capable to perform the needed steps to accomplish that. Stop requesting features that you don't actually need. Just dropping some buzzwords like "captcha" won't help. I have already told you in your other threads that it's mandatory to post a link to your gallery when posting, which you failed to do in all your postings. If you can't do as suggested per board rules, then you're not allowed to post, simple as that!

Joachim, I dont really know what is your problem.
Timos excplicitly wrote, that we can put in this topic our whishes in next release od Enlargeit.
I read board rules and i know know that posting link to gallery is mandatory. But posting a link to every each typed post,  sound a bit silly to me.
Some day I ask " What time is it", and you will answer " Read board rules first and post link to your gallery"

I don't know why you are allergic to my person, but If something is nonsense here, it is your behavior

Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joe Carver on November 23, 2009, 04:20:14 pm
I read board rules and i know know that posting link to gallery is mandatory. But posting a link to every each typed post,  sound a bit silly to me.

Support and time is given for free - no one wants to spend time looking and guessing - that would be silly.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on November 23, 2009, 11:37:25 pm
I'm not ready to argue with you about the need to post a link nor about any other aspects of the board rules. Your request is silly, that's what I told you: a spam bot can not perform the actions needed to post data from an ajax-driven form yet afaik, nor is this plugin being used often enough to make it a target worth looking into for professional spammers. Your request therefore is invalid. Your entire argument is invalid. And no: if you're going to ask what time it is on this forum, we will not ask you to post a link to your gallery, but we will ban you instead because you spam our forum with invalid questions that are in no way related to coppermine. If you're going to post something that is related to coppermine on the other hand (and that's what you did in this thread), we require you to post a link to your gallery. This discussion ends now: you're banned from posting for a week to give you time to review your attitude. Next ban will be permanent and you will get that ban if you show the slightest disrespect of board rules.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: TeknoSounds on December 07, 2009, 07:33:17 pm
Greetings,

I recently installed this plugin and loving it :) However clicking on an image does not increase the counter.  I found a post on the last page where to edit the enl_cnt.php file, however this didn't fix the issue.
I'm just running this plugin, the JUpload plugin and Captcha v3.0.

http://teknosounds.com/tspics/
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: TeknoSounds on December 07, 2009, 07:54:10 pm
nevermind, its working :) Think it'd already picked up my IP and wasn't increasing due to that.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on December 08, 2009, 10:08:01 am
Admin hits are not counted no matter what!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: mvanec on December 25, 2009, 08:23:19 am
just one last thing. the show picture button in the image when we click to enlarge it isnt working i mean it dont do anything what is it for?

I would love to know the answer to this question.  Is the Show Picture button supposed to show the full-size picture? Clicking on the icon in the intermediate display does not do anything.

Thanks
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on December 25, 2009, 04:28:29 pm
Is the Show Picture button supposed to show the full-size picture?
No. It's meant to enable you to to go back to the image if you have picked another view like bbcode or histogram before.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: gismoat on December 29, 2009, 01:31:53 am
Hi all,

i use the Plugin EnlargeIt! V2.15.
I have aktivated the Slider in my gallery.
When i go to the Adminarea (slider) and i will change the height of the Pictures to 110 or higher than i have allways 75px.
Can you tell me what can i do?
Gallery Version is 1.4.25
Themes use Greenorg

and her my Gallery URL http://arbeiter4ever.com (http://arbeiter4ever.com)

Many thanks for your help.
cheers GismoAT
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on December 30, 2009, 12:42:18 am
The slider height depends on the thumbnail height; sorry, there's no solution (I should have removed that parameter long time ago).
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: kupje on January 03, 2010, 02:11:37 pm
Danish translation. :-)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: cl9m on January 09, 2010, 01:39:55 pm
Hi,

Enlargeit and OSFLV or rphMedia can read and play .mp4 extension?

If YES that don't work on my coppermine.

If NO it's hard to make this?

Thx
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on January 09, 2010, 06:32:24 pm
The supported file types are mentioned in the initial posting in this thread. How hard it is to add support for more file types depends on your coding skills. Board rules! (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: cl9m on January 09, 2010, 07:16:31 pm
Thanks for your answers,
I'use the plugin filetype for add .flv and .mp4 that's work in my gallery with JWplayer
but if I want use enlargeit and OS flv or rph media the flv work but not mp4 extension.

sorry for my english (I'm french)

Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on January 10, 2010, 09:43:21 am
That's no excuse for not respecting board rules >:(. My previous reply even contained a deep link to the board rule you failed to respect.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: mrdee on January 11, 2010, 12:18:30 pm
I'd be very grateful if someone could tell me where in the plugin I would find the code that "calls" the player.swf, with the video file to play and the associated parameters.  I spent some time looking but am guessing that the calls are derived in several places.  The reason I would like to know is that I wish to standardise my site to use JW Player v5.  If I can find where the calls to the player originate (so I can edit them) then I should be able to swap the OS FLV "player.swf" and replace it with the "player.swf" from longtailvideo.com.  The best way would be for me to add a 3rd player option but I'm not sure I have the skills or knowledge of the code in the plugin to make such a comprehensive edit.

Worst case, if I can't get it to work with JW Player myself then I hope to be able to figure out how I can put the latest version of OS FLV into the plugin (replacing the player.swf messed it up for me, even after clearing the browser cache on the test machines).

Thanks in advance if someone can tell me the file(s) to look in.

MrDee
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on January 11, 2010, 12:25:26 pm
This is the place in codebase.php where one of the players is used to display FLV files:
Code: [Select]
          if ($ENLARGEITSET['enl_flvplayer'] == 1) $neu_str .= '"><img src="'.$match[2].$CONFIG['thumb_pfx'].$match[3].'" longdesc="fl2::../../../'.path2url($enl_path).'::'.$enl_flvwidth.'::'.$enl_flvheight;
          else $neu_str .= '"><img src="'.$match[2].$CONFIG['thumb_pfx'].$match[3].'" longdesc="flv::../../../'.path2url($enl_path).'::'.$enl_flvwidth.'::'.$enl_flvheight;

To include more file types, you will have to change other lines, too in function enl_main($html).

Have fun!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: mrdee on January 11, 2010, 01:29:46 pm
Thanks for the rapid help Timos.  Appreciated.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: pytlak on January 20, 2010, 09:35:00 pm
Hi Timos!
Great plugin, I like it a lot. I have installed ones without any problems and everything worked fine. You can see it here (CM1.4.19.)
http://www.akce.milanriha.cz/index.php
I am doing some testing before I run my final pages. Therefore I have installed last Coppermine (1.4.25) onto the new domain. Here is the link
http://www.tema.milanriha.cz/Gallery/
Unfortunately there is problem to install your plugin again :(. There is an error message

Fatal error: require() [function.require]: Failed opening required './plugins/enlargeit/include/load_enlargeitset.php' (include_path='.:/usr/share/php5:/usr/share/php') in /disk_1/www/cz/milanriha/tema/Gallery/plugins/EnlargeIt/codebase.php on line 34

any hint why please?
the only difference I see is the CM version and fact the CM is not in the root, but in the subfolder ./Gallery

Milan
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on January 22, 2010, 08:48:47 am
Great plugin, I like it a lot. I have installed ones without any problems and everything worked fine. You can see it here (CM1.4.19.)
http://www.akce.milanriha.cz/index.php
Upgrade!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: pytlak on January 22, 2010, 09:08:07 am
CM 1.4.25
EnlargeIt 2.15

what should I Upgrade more Joachim?
on 1.4.19 it works  ???

thanks
Milan
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on January 22, 2010, 09:27:13 am
what should I Upgrade more Joachim?
The gallery that is publicly available that is running cpg1.4.19 needs to be updated in terms of security, as running an outdated version that has got known vulnerabilities that malevolent people could use to take over or ruin your entire site is silly. We're not ready to discuss the need to upgrade in each and every thread. Read the documentation that contains a complete list of reasons why you need to upgrade. Read the announcements for the new versions that explain what vulnerabilities are fixed.

Unfortunately there is problem to install your plugin again :(. There is an error message

Fatal error: require() [function.require]: Failed opening required './plugins/enlargeit/include/load_enlargeitset.php' (include_path='.:/usr/share/php5:/usr/share/php') in /disk_1/www/cz/milanriha/tema/Gallery/plugins/EnlargeIt/codebase.php on line 34
That's not related to the version of coppermine you're installing on, but related to the fact that you obviously haven't uploaded all files that come with the plugin: http://www.tema.milanriha.cz/Gallery/plugins/enlargeit/include/load_enlargeitset.php (the file that the error message complains about) is not there (error 404 not found), hence the error message. Upload the complete plugin and it will work... ::)
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: pytlak on January 22, 2010, 09:33:22 am
OK, thanks a lot Joachim. I'll check if all files are there.

In regards upgrade - Yes, I understand, therefore I am just now testing the new version of my pages running on CM 1.4.25 - think last version available ;)

I will let you know evening about result
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: pytlak on January 22, 2010, 09:56:16 am
hmm I have checked - file is there
./Gallery/plugins/EnlargeIt/include/load_enlargeitset.php
cannot be a problem, that installing code is looking into
./plugins/EnlargeIt/include/load_enlargeitset.php
istead?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on January 22, 2010, 10:08:55 am
hmm I have checked - file is there
No, the file is not there - going to http://www.tema.milanriha.cz/Gallery/plugins/enlargeit/include/load_enlargeitset.php causes a 404 as I said. Attached is a screenshot.

Stop playing with capitalization. Upload the plugin exactly as it comes. There's a difference between
./plugins/EnlargeIt/include/load_enlargeitset.php
and ./plugins/enlargeit/include/load_enlargeitset.php

hmm I have checked - file is there
./Gallery/plugins/EnlargeIt/include/load_enlargeitset.php
cannot be a problem, that installing code is looking into
./plugins/EnlargeIt/include/load_enlargeitset.php
istead?
Well, does the gallery where this doesn't work as expected populate the gallery URL setting inside the config, i.e. have you set up the gallery accordingly? Stop playing games. Upgrade your live gallery, then apply the plugin to your live gallery. End of the story - no more support for you unless you upgrade your main gallery.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: pytlak on January 22, 2010, 10:19:30 am
Joachim realy thanks for your time - I have looked again and problem was as you mentioned in Capital letters of the subfolder. Now it works.

I understand what you are saying with upgrade. But as there are some manual changes necessary in the whole web structure I have to test it before I will populate the upgrade of CM onto my main pages. Now I am very close ;)

Milan
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: mrdee on January 22, 2010, 12:08:54 pm
This is the place in codebase.php where one of the players is used to display FLV files:
Code: [Select]
          if ($ENLARGEITSET['enl_flvplayer'] == 1) $neu_str .= '"><img src="'.$match[2].$CONFIG['thumb_pfx'].$match[3].'" longdesc="fl2::../../../'.path2url($enl_path).'::'.$enl_flvwidth.'::'.$enl_flvheight;
          else $neu_str .= '"><img src="'.$match[2].$CONFIG['thumb_pfx'].$match[3].'" longdesc="flv::../../../'.path2url($enl_path).'::'.$enl_flvwidth.'::'.$enl_flvheight;

To include more file types, you will have to change other lines, too in function enl_main($html).

Have fun!

I've got the OS FLV updated now to the latest version (3.1).  It "works" on FF3.6 and IE8 (with WinXP and Vista), but the only minor problem I can't get fixed is this one:

When clicking on an flv thumb the ajax popup appears at the correct size (from the dimensions in the db).  The red background "play" button pops up in the middle as expected, along with a background shot from an early frame in the video.  However, behind the red background of the "play" button (but above the video frame background) is a rectangle of light blue, going from the bottom left of the ajax window up to the top right edge of the background to the "play" button.  Once I press the "play" button the rectangle vanishes and the video plays fine.  I'm struggling to find what I need to change, because I'm guessing that the additional files and directories (with the functions, and which the OS FLV download requires me to upload) are embedded into the EnlargeIt files/directories.

I know you are most likely busy with the new version for the upcoming 1.5 release, but if you are even able to point me in the right direction then I'm up for the challenge in fixing this.

Thanks.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Timos-Welt on January 22, 2010, 12:59:58 pm
Please attach your modified version. GPL projects need contributors!  ;) Then I'll see what I can do.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: mrdee on January 22, 2010, 02:07:29 pm
Please attach your modified version. GPL projects need contributors!  ;) Then I'll see what I can do.

I made many edits to codebase.php and then removed most of them (the attached file is "work in progress" but, you asked ;) ).  At the moment I am just renaming .mp4 files (H.264) to .flv on my server so that I don't need to add a separate file type section in the code (I will tidy that later).  [The flash player always appears to look into the video file and realise it is H.264 and play it fine, regardless.]  Most of my edits are to the theme.php (igames) to get the latest JW player configured, which took me some time as they changed the way of adding flashvars etc (works well now).  I use this for if someone clicks the "info" button, to take me to the normal Coppermine display page, with all the info on it incl a movie which plays.  By the way, I'm running 1.4.25 but applied the patches for that release manually rather than a full upgrade (as I'm sure someone will see the header text ;-) ).

I have replaced the player.swf file and am now attacking this cosmetic issue on the basis of trying to fix what needs fixing rather than continuing what I was doing (trying to find out what had changed from the version of the player included in EnlargeIt to the latest one, and then where the file content from OS FLV maps into the js code EnlargeIt uses).  I also read your post regarding it not being recommended to edit anything in the plugin js directory...

There is an unrelated error in the attached file relating to a file path which I see only in the webserver log.  I click on a movie (flv) thumbnail (EnlargeIt enabled) and even though the result is fine for the users (the ajax popup appears and the movie plays etc) there are always 2 or 3 errors in the server log, where something tries to call a file for Coppermine directly beneath my root dir rather than one level lower where the Coppermine files are.  I am using a redirect on Apache at the moment until I find that one.  As the movie file is found OK and plays, I suspect that the pluggin is trying to pull the jpg thumbnail to give to the player (?), but if this is true then the error is not in codebase.php I suspect...
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: mrdee on January 22, 2010, 02:20:25 pm
I made many edits to codebase.php and then removed most of them (the attached file is "work in progress" but, you asked ;) ).  At the moment I am just renaming .mp4 files (H.264) to .flv on my server so that I don't need to add a separate file type section in the code (I will tidy that later).  [The flash player always appears to look into the video file and realise it is H.264 and play it fine, regardless.]  Most of my edits are to the theme.php (igames) to get the latest JW player configured, which took me some time as they changed the way of adding flashvars etc (works well now).  I use this for if someone clicks the "info" button, to take me to the normal Coppermine display page, with all the info on it incl a movie which plays.  By the way, I'm running 1.4.25 but applied the patches for that release manually rather than a full upgrade (as I'm sure someone will see the header text ;-) ).

I have replaced the player.swf file and am now attacking this cosmetic issue on the basis of trying to fix what needs fixing rather than continuing what I was doing (trying to find out what had changed from the version of the player included in EnlargeIt to the latest one, and then where the file content from OS FLV maps into the js code EnlargeIt uses).  I also read your post regarding it not being recommended to edit anything in the plugin js directory...

There is an unrelated error in the attached file relating to a file path which I see only in the webserver log.  I click on a movie (flv) thumbnail (EnlargeIt enabled) and even though the result is fine for the users (the ajax popup appears and the movie plays etc) there are always 2 or 3 errors in the server log, where something tries to call a file for Coppermine directly beneath my root dir rather than one level lower where the Coppermine files are.  I am using a redirect on Apache at the moment until I find that one.  As the movie file is found OK and plays, I suspect that the pluggin is trying to pull the jpg thumbnail to give to the player (?), but if this is true then the error is not in codebase.php I suspect...

I'm currently thinking it may be linked with this new feature in OS FLV 3.1 (it may be looking for a banner jpg) http://www.osflv.com/?p=624 (http://www.osflv.com/?p=624) and not finding one as I didn't configure it to.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: mrdee on January 22, 2010, 06:42:55 pm
Please attach your modified version. GPL projects need contributors!  ;) Then I'll see what I can do.

Just to check if the idea in my previous post was along the right lines I spent some time this afternoon, and here's an update:

I figured that the actual calls to the player.swf were coming from the file in the JS subdir (the codebase file just sends the input to the actual javascript call).  So, to test if the blue background was coming from the lack of banner jpg I needed to put autoplay "on" (it ignores the banner if this is turned on, according the OS FLV site).  So, I edited the enlargeit.source.js and recompressed the file (zip file attached) to produce a new test enlargeit.js.  The problem now goes away, though I need to do more work as I don't really want this switched on (as the buffering time while users press play is useful on some slow links).  So, I need to either figure out the buffering parameter for OS FLV or learn how to use perhaps the Coppermine thumb as the banner image for the player.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: xFyrios on January 22, 2010, 06:53:22 pm
I have a big issue. I'm using my Coppermine installation as a image host for a forum but when anyone clicks on an image and then in EnlargeIt! goes to the BbCode tab and copies the code into the forum, the image comes out really small :/ I want it to come out regular sized...

Here's an example:

(http://images.pretomeuploads.net/albums/userpics/10006/thumb_image02323.jpg) (http://images.pretomeuploads.net/albums/userpics/10006/image02323.jpg)

Was going to put an example but I can't put pictures in the posts here I just realized :/


Anyways, here's a link to the site too: http://images.pretomeuploads.net/index.php

Any help would be greatly appreciated!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Phill Luckhurst on January 22, 2010, 07:30:05 pm
xFyrios,

You could always try searching the very thread you are replying in ;)

http://forum.coppermine-gallery.net/index.php/topic,53290.msg278716.html#msg278716
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on January 22, 2010, 07:38:28 pm
Was going to put an example but I can't put pictures in the posts here I just realized :/
Nonsense - the opposite is the case: you're even encouraged to attach (not hotlink) screenshots for illustration of your issues (as per board rules (http://forum.coppermine-gallery.net/index.php/topic,55415.msg270617.html#msg270617))
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: xFyrios on January 22, 2010, 08:59:27 pm
Sorry bout that, never thought of taking a screenshot  :-\ I was just thinking I could integrate it in my post with BbCode as then it would should up the same as it does on the Forum attached to my image host since, well, this is a forum. Didn't think of directly taking a screenshot in that forum.

And thank you very much Phill :) I did search but I wasn't willing to read through all of the numerous pages here so I just hit control+f on each page. Guess I didn't use a good enough keyword...
Or did I miss out on a search for within topics? Never did see one but maybe I'm just missing something?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: emjay_smitten on January 25, 2010, 01:17:52 am
I have a question. I also use the facebook plugin. I installed the EnlargeIt plugin to. They work good. Only not together. Is there anyway I can include the Facebook plugin in the EnlargeIt plugin ?? Maybe to include the image of Facebook plugin in the buttons from EnlargeIt ???
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: CD69 on January 26, 2010, 05:43:32 pm
First GauGau I am sorry for my other post, I could not find what I was looking for in this thread (maybe I keep missing it) and wanted to ask a general question about the plugin.

I'm not currently using it because I need to change the code for posting an image to (http://url) but can't find where to make the change. I would also like to adjust the size of the popup box that appears to something similar to the picture I posted.

My php skills are limited so the answer may have been in this thread (which I read a couple times) and I missed it.

Any help would be appreciated.



Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Phill Luckhurst on January 26, 2010, 06:33:34 pm
What other post? I haven't time to go searching for this other post so please post a link.

We also need a link to your site and specific details of what you want. "I need to modify http://" really tells me nothing, modify to what?
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on January 26, 2010, 06:40:24 pm
He's refering to EnlargeIt, is there a way to change the BBCode (http://forum.coppermine-gallery.net/index.php/topic,63390.0.html). See there for the end of the story.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: MSCH69 on January 26, 2010, 10:02:54 pm
GauGau when I said I was sorry I meant it, there is no reason to ban people for making mistakes on a forum they only come to for help.

As part of the administrative team you make several assumptions. There was no site to make a link to when the question was asked, the plugin CPGMark corrupted the database and the site is/was being rebuilt.

That searches were not done. Not true!

People don’t know the site as well as you do and try to adhere to the rules and sometimes make mistakes. If someone is flaming or hassling people that is a reason to get banned, not for trying to become educated on your product and get help.

The (http://pic here) tag is also a mistake, the board converted what was originally posted but if you wanted to be helpful you could have because you’ve seen that error before haven’t you.

You have an opportunity to be educators and to help people but you choose to be control freaks and not very helpful. Better to educate I believe, better to assist than to criticize.

In the time it takes you to write a negative post you could move the thread and help the person, but then everyone wouldn’t perfectly follow your rules. Oh my they may make a horrible mistake!
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: xFyrios on January 27, 2010, 05:57:18 am
MSCH69.
I may be no expert but this is how I accomplished adding in a box with a direct link to the image.

1. I downloaded this (http://forum.coppermine-gallery.net/index.php/topic,46121.html) plugin.
2. I then edited codebase.php of the new plugin from this:
Code: [Select]
{
global $information;
global $CONFIG;
global $CURRENT_PIC_DATA;

$info['Embed URL'] = '<table cellpadding="0" cellspacing="1" border="0">';
$info['Embed URL'] .= '<tr><td>BBCode:</td><td><textarea name="bbcode" class="textinput" rows="1" cols="60" wrap="off" style="overflow:hidden;height:15px;" onfocus="this.select();" onclick="this.select();">[url=' . $CONFIG["ecards_more_pic_target"] . get_pic_url($CURRENT_PIC_DATA, 'fullsize') . '][img]' . $CONFIG["ecards_more_pic_target"] . get_pic_url($CURRENT_PIC_DATA, 'normal') . '[/img][/url]</textarea></td></tr>';
$info['Embed URL'] .= '<tr><td>HTML:</td><td><textarea name="htmlcode" class="textinput" rows="1" cols="60" wrap="off" style="overflow:hidden;height:15px;" onfocus="this.select();" onclick="this.select();"><a href="' . $CONFIG["ecards_more_pic_target"] . get_pic_url($CURRENT_PIC_DATA, 'fullsize') . '" target="_blank"><img src="' . $CONFIG["ecards_more_pic_target"] . get_pic_url($CURRENT_PIC_DATA, 'normal') . '" border="0"></a></textarea></td></tr>';
$info['Embed URL'] .= '</table>';
return $info;
}

to this:

Code: [Select]
{
global $information;
global $CONFIG;
global $CURRENT_PIC_DATA;

$info['Embed URL'] = '<table cellpadding="0" cellspacing="1" border="0">';
$info['Embed URL'] .= '<tr><td>Direct Link:</td><td><textarea name="directurl" class="textinput" rows="1" cols="60" wrap="off" style="overflow:hidden;height:15px;" onfocus="this.select();" onclick="this.select();">' . $CONFIG["ecards_more_pic_target"] . get_pic_url($CURRENT_PIC_DATA, 'fullsize') . '</textarea></td></tr>';
$info['Embed URL'] .= '<tr><td>BBCode:</td><td><textarea name="bbcode" class="textinput" rows="1" cols="60" wrap="off" style="overflow:hidden;height:15px;" onfocus="this.select();" onclick="this.select();">[url=' . $CONFIG["ecards_more_pic_target"] . get_pic_url($CURRENT_PIC_DATA, 'fullsize') . '][img]' . $CONFIG["ecards_more_pic_target"] . get_pic_url($CURRENT_PIC_DATA, 'normal') . '[/img][/url]</textarea></td></tr>';
$info['Embed URL'] .= '<tr><td>HTML:</td><td><textarea name="htmlcode" class="textinput" rows="1" cols="60" wrap="off" style="overflow:hidden;height:15px;" onfocus="this.select();" onclick="this.select();"><a href="' . $CONFIG["ecards_more_pic_target"] . get_pic_url($CURRENT_PIC_DATA, 'fullsize') . '" target="_blank"><img src="' . $CONFIG["ecards_more_pic_target"] . get_pic_url($CURRENT_PIC_DATA, 'normal') . '" border="0"></a></textarea></td></tr>';
$info['Embed URL'] .= '</table>';
return $info;
}

Simply adding in the line:
Code: [Select]
info['Embed URL'] .= '<tr><td>Direct Link:</td><td><textarea name="directurl" class="textinput" rows="1" cols="60" wrap="off" style="overflow:hidden;height:15px;" onfocus="this.select();" onclick="this.select();">' . $CONFIG["ecards_more_pic_target"] . get_pic_url($CURRENT_PIC_DATA, 'fullsize') . '</textarea></td></tr>';

3. Then you can access that direct link from the info of the picture within EnlargeIt!

You can always also delete the HTML and BBCode lines if you only want the Direct Link.
I'm sure there is a way of doing this for the BBCode tag of EnlargeIt! too, I just haven't really looked that hard for it.

Hope that helps!
-xFyrios
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: Joachim Müller on January 27, 2010, 11:15:45 am
This is the announcement thread for the enlargeit plugin. Cluttering it with suggestions for another plugin is bad. I'm aware that you're trying to be helpfull, but your posting is just confusing for newbies, so please don't.
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: xFyrios on January 28, 2010, 01:54:25 am
Oops, my bad. Never did think of that...
Sorry!  :-X
Title: Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
Post by: PortOfKarlsborg on March 12, 2011, 02:22:54 pm
Hi,
I have installed EnlargeIT. It works fine but I can not figure out how to maximize the photos. When I click on o thumbnail EnlargeIT shows the picture in 787*590. The pictures in the galley is 1024*800.

I have tried to use "Show button 'Maximize'" Yes and Yes, as a pop-up window but I can't see any Maximize button what ever settings I select.

http://www.karlsborgshamn.se/Coppermine2/index.php