EnlargeIt! (AJAX user interface for CPG 1.4.x) - Page 6 EnlargeIt! (AJAX user interface for CPG 1.4.x) - Page 6
 

News:

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

Main Menu

EnlargeIt! (AJAX user interface for CPG 1.4.x)

Started by Timos-Welt, June 16, 2008, 06:19:13 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Timos-Welt

@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

Hein Traag

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

Timos-Welt

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

darkpollo

Quote from: Timos-Welt on August 29, 2008, 04:22:35 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.

darkpollo


Timos-Welt

Open the codebase.php of EnlargeIt!

Find this line:

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

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.

darkpollo

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

darkpollo


rctruckz

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

rctruckz


Nibbler


rctruckz


streetart

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

Timos-Welt

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

killevette

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

Farnsi

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 !


Quote from: 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.

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).
Regards,
Farnsi

killevette

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

Farnsi

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)
Regards,
Farnsi

Timos-Welt

Quote from: 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?

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

Timo

Farnsi

Take your time Timo, no problem. This was just something i noticed.
Regards,
Farnsi