|Admiror Joomla! Community
|Reverse image order by name
|Page 1 of 1|
|Author:||sinfulone [ Tue Jul 19, 2016 12:40 am ]|
|Post subject:||Reverse image order by name|
I have looked at the two examples found in the forums of reversing the order of the images in a gallery by name, so that instead of 1,2,3 it would be 3,2,1. But both generate errors and do not allow the gallery to show. Is there a way to do this, and if so how? -
http://wolfdesigns.biz/index.php/galler ... tv&AG_MK=0
|Author:||Vasiljevski [ Mon Aug 29, 2016 1:38 am ]|
|Post subject:||Re: Reverse image order by name|
What did you try? Can you post links so I can check?
In general, to reverse the order, you just need to call
$array = array_reverse($array) before the image array is passed to the template.
|Page 1 of 1||All times are UTC + 1 hour [ DST ]|
|Powered by phpBB® Forum Software © phpBB Group