Announcement

#1 2012-07-12 23:26:02

Geno Shishkov
Guest

After piwigo upgrade images SRC is empty

I  install piwigo galery and try to make own template and some own add-ons.  But after last update all instaled plugins and add-ons disappeared and images don't show. Do someone met this problem before? This is test directory http://www.algaivel.com/portfolio/

 

#2 2012-07-12 23:40:09

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: After piwigo upgrade images SRC is empty

1) there is a message before upgrading saying all plugins will be deactivated

2) there were MANY changes in templates, take a look at the default template to adapt yours

Offline

 

#3 2012-07-12 23:55:19

Geno Shishkov
Guest

Re: After piwigo upgrade images SRC is empty

Actualy my client upgrade it. I am just a programmer, but no matter. After I compare old picture.php and new picture.php i realize that function  "default_picture_content" dont asign  SRC_IMG to the template so i add one row 'SRC_IMG' => $element_info['element_url'] and everything is ok. I suppose same thing wil be with galleries and index page.

Thank you for fast response!

 

#4 2012-07-13 00:07:35

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: After piwigo upgrade images SRC is empty

well by doing this you bypass the major feature of 2.4 : multisize

and keep in mind that this kind of code modification will probably be reseted at next upgrade

Offline

 

#5 2012-07-13 00:50:42

Geno Shishkov
Guest

Re: After piwigo upgrade images SRC is empty

I seen new derivative urls and upgrade my template! 
Thanks again Mistic! You save me lot of time for searching!

 

#6 2012-07-13 01:01:28

mistic100
Former Piwigo Team
Lyon (FR)
2008-09-27
3277

Re: After piwigo upgrade images SRC is empty

nice :)

did you see you have two links "Share on facebook" plus the "Like" button, on pictures pages ?
I think you can do a little cleanup ;-)

Offline

 

#7 2012-07-13 08:14:54

flop25
Piwigo Team
2006-07-06
7037

Re: After piwigo upgrade images SRC is empty

hi there
a technical Doc has been written : http://piwigo.org/doc/doku.php?id=dev:changes_in_2.4


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact