Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2006-11-12 10:27:52

allon
Guest

last inserted picture site

hello
i would like to have a page, which i can add to my site as an iframe which shows the last inserted picture from the gallery.
is this already possible?? or can i do it by myself (i have very poor php skills ;-))??

thanks allon

#2 2006-11-12 10:53:41

VDigital
Former Piwigo Team
Location: Paris (FR)
Registered: 2005-05-04
Posts: 17680
Website

Re: last inserted picture site

We have.

It needs to be resume (a bit old).
We are making something new for next release.

Try this... MOD external random
We will give you advice on time to adapt it.

8-)


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

#3 2006-11-12 14:57:20

allon
Guest

Re: last inserted picture site

hello
thanks for the suggestion...
i modified it and installed it on
allon.ch (last picture)
if you need my script write me an email

greets allon

#4 2006-11-12 15:27:40

VDigital
Former Piwigo Team
Location: Paris (FR)
Registered: 2005-05-04
Posts: 17680
Website

Re: last inserted picture site

Please, subscribe to our Forum to get your email (even I already get it).

Could you pakage the code a bit and send it on Extensions,
a specific tool (created by Sephi - PhpWebGallery Team Member, from Geneva (Switzerland)).

Thx.


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

#5 2006-11-13 13:18:10

allon
Member
Registered: 2006-11-13
Posts: 6

Re: last inserted picture site

hello

i've addded a new mod
http://phpwebgallery.net/ext/extension_view.php?eid=84

please write some suggestions if you don't like ;-))

greets allon

Offline

#6 2006-11-13 19:23:40

VDigital
Former Piwigo Team
Location: Paris (FR)
Registered: 2005-05-04
Posts: 17680
Website

Re: last inserted picture site

Maybe add css related to it.
Well done.
8-)


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

#7 2010-01-04 18:21:47

Gerhard Hoogterp
Guest

Re: last inserted picture site

As the get_thumbnail_src() function no longer seems to exists, the line can be replaced with:

$thumb_url = substr($row['path'],0,strlen($row['path'])-strlen($row['file'])).'thumbnail/TN-'.$row['file'];

Just fixed it to see what was happening, but as it seems the whole idea is left behind in a state of flux. Proof of concept..
Nevertheless,  as I don't seem to be able to add comments to the mod page itself, I post this here for whoever is in need and searching..

#8 2010-01-05 00:36:21

VDigital
Former Piwigo Team
Location: Paris (FR)
Registered: 2005-05-04
Posts: 17680
Website

Re: last inserted picture site

What about of

$conf['prefix_thumbnail'] = 'TN-';


It could be changed.
Take care of version for this topic (last added picture is no longer maintained and only for 1.6).

Piwigo is 2 versions above with plugins available.
[extension by P@t] PWG Stuffs will add more than recent picture.


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

Board footer

Powered by FluxBB

About this website · Donate · Contact Piwigo project © 2002-2013