Advanced search  

News:

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

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

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

0 Members and 3 Guests are viewing this topic.

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 800
    • Timos-Welt
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #100 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
Logged

Hein Traag

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: nl
  • Offline Offline
  • Gender: Male
  • Posts: 2166
  • A, B, Cpg
    • Personal website - Spintires.nl
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #101 on: August 29, 2008, 04:50:54 pm »

Very promising Timos. Going to include things such as avi movies as wel?
Logged

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 800
    • Timos-Welt
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #102 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... ;)
Logged

darkpollo

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 73
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #103 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. 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.
Logged

darkpollo

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 73
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #104 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
Logged

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 800
    • Timos-Welt
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #105 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.
Logged

darkpollo

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 73
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #106 on: August 29, 2008, 08:43:51 pm »

That is a fast answer!!
Going to test it right now! :D
Logged

darkpollo

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 73
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #107 on: August 29, 2008, 08:48:07 pm »

Perfect!
Thank you very much!
Logged

rctruckz

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • RC Truckz
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #108 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
Logged

rctruckz

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • RC Truckz
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #109 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
Logged

Nibbler

  • Guest
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #110 on: August 31, 2008, 01:51:48 am »

Uninstall the sample plugin.
Logged

rctruckz

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 27
    • RC Truckz
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #111 on: August 31, 2008, 03:40:44 am »

ahhh! :)

thanks alot :)
Logged

streetart

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #112 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
Logged

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 800
    • Timos-Welt
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #113 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".
Logged

killevette

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #114 on: September 01, 2008, 06:13:27 pm »

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

Farnsi

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 177
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #115 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 Gre ! / 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).
Logged
Regards,
Farnsi

killevette

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #116 on: September 02, 2008, 02:46:55 am »

thanks....can the lightbox pull the images from coppermine?
Logged

Farnsi

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 177
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #117 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)
Logged
Regards,
Farnsi

Timos-Welt

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 800
    • Timos-Welt
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #118 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
Logged

Farnsi

  • LocalSupporter
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 177
Re: EnlargeIt! (AJAX user interface for CPG 1.4.x)
« Reply #119 on: September 04, 2008, 09:07:38 pm »

Take your time Timo, no problem. This was just something i noticed.
Logged
Regards,
Farnsi
Pages: 1 2 3 4 5 [6] 7 8 9 10 ... 25   Go Up
 

Page created in 0.022 seconds with 21 queries.