Plugins » Masonry Gallery 1.5.1

Path to gpEasy-Installation
Topic Closed
Matze
6 Posts
Hi a2exfr, the Gallery looks realy good, but there is a Problem when gpEasy is not installed in the root of the Webspace, but in a subfolder like "http://mydomain.com/gpeasy" ... then the images cannot be found. Greatings!
5 years ago#7688

a2exfr
242 Posts
25.9K Downloads
2 Themes
10 Plugins
Ok. I have to test it.
5 years ago#7697

juergen
1.5K Posts
53.8K Downloads
16 Plugins
design, web development & visual effects

In Masonry_galler.php add the green highlighted code:
 

line 30   global $page,$dataDir,$dirPrefix,$addonRelativeCode;
line 76   echo '<a href="' . $dirPrefix . '/data/_uploaded/image/'.$mgfolder."/".$entry.'" 
          name="gallery" rel="gallery_gallery">';
line 77   echo '<img src="' . $dirPrefix . '/data/_uploaded/image/'.$mgfolder."/".$entry.'" />';

... and probably…

line 88  echo '<p>Folder <b>'.$mgfolder.'</b> isnt does not exist in data/_uploaded/image/ </p>';

Cheers,

juergen

Edited: 5 years ago#7868

Matze
6 Posts
Hi juergen, thanks a lot - it works nice :) Now I got another problem: how can I change the order? (for example, upload date or filename) Thanks in advance!
5 years ago#7869

juergen
1.5K Posts
53.8K Downloads
16 Plugins
design, web development & visual effects

Hi Matze,

great to hear it works.
For the ordering issue: hmm... it's not my plugin but AFAIK masonry javascripts, their purpose is to try to accomplish equal sized colums by moving the images accordingly. So I'd guess the ordering will be determined by the masonry script and you will not have control over it :-/

5 years ago#7870

a2exfr
242 Posts
25.9K Downloads
2 Themes
10 Plugins

Hi juergen, Hi Matze!

Thanks Juergen! I just upload a new version of plugin with your solution.

And also add a possibility to sort pictures for Matze, hope it will work.

Sorry, I have a little time for gpeasy for now((

p/s. line 88 - lol ))))))) make my day

Alex.

5 years ago#7880

Matze
6 Posts
Hi Juergen, Hi Alex, thanks for your information and quick help! I am looking forward to the new version. Greetings ...
 
5 years ago#7882

Matze
6 Posts

Hi a2exfr, thanks for updating, but now it does not work on 4.5 ... take a look at http://optimal-im-web.de/gp/03/Fotogalerie

Matze

5 years ago#7973

juergen
1.5K Posts
53.8K Downloads
16 Plugins
design, web development & visual effects
The $dirPrefix seems to be missing again.
5 years ago#7974

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

creisi productions

Dienstleistungen von creisi productions, Luzern (Schweiz): * Konzeption, Planung und Erstellung Ihres Internet-Auftritts * Betreuung und Aktualisierung/Pflege Ihrer Website * ...

Find out more about our Provider Spotlight

Log In

  Register