Page 1 of 1

Problem with seeing gallery

Posted: Mon Jun 25, 2012 11:32 pm
by ReirGap
i got this message appears on my website..

Warning: preg_replace() [function.preg-replace]: Unknown modifier '6' in ..\plugins\content\admirorgallery\admirorgallery.php on line 82

cant see thumbs, just this message..
i can take screenshot if u want..
thanks for helping guys.

Re: Problem with seeing gallery

Posted: Tue Jun 26, 2012 10:27 am
by Vasiljevski
Did you use Admiror Gallery 4.1.1 from this location: http://www.admiror-design-studio.com/en ... extensions?

How did you setup the gallery? Screen is good, but if the site is online, it's always better to take a look directly :)

Re: Problem with seeing gallery

Posted: Tue Jun 26, 2012 2:09 pm
by ReirGap
Yes, from that site..

3 screenshots..

Btw. Uporno pokazuje tu error poruku, gledao sam po netu resenja, i kazu da je jedino resenje da se obrise ekstenzija. Sajt nije podignut, vec radim u localhost. Ne mogu podici dok ne zavrsim skroz.
Pozdrav!
Image

Image

Image

Re: Problem with seeing gallery

Posted: Tue Jun 26, 2012 5:52 pm
by Vasiljevski
Can you past here a code you are using? For example: {AG}moj_album{/AG}

If there is a problem it should be with foldername.

Re: Problem with seeing gallery

Posted: Tue Jun 26, 2012 11:36 pm
by ReirGap
{AG}galerija{/AG} *article code*

/images/sajt/ *plugin path*

and my gallery is in images/sajt/galerija

pics names are not numbers*

thanks for fast reply ;)

Re: Problem with seeing gallery

Posted: Wed Jun 27, 2012 12:31 am
by Vasiljevski
Well I must admit I have no clue on what is happening.

Do you use WAMP? I guess you are using Joomla 2.5.6?

Can you try to set default settings? Path: /images/sampledata/ and use

Code: Select all

{AG}fruitshop{/AG}


Is this working? Or does the same error appear?

Re: Problem with seeing gallery

Posted: Wed Jun 27, 2012 1:22 am
by ReirGap
Hmmm...

Its working with fruitshop. Wtf.. :roll:

PS. What I have done? .. :

read your reply.
2. tried images/sampledata/ and used {AG}fruitshop{/AG}
3. changed again to images/sajt/ and used {AG}galerija{/AG}
4. Its working! :D

I just dont know wtf happend. I didnt misstyped imagepath, i didnt messed the code.. Just miracle, i guess.

Thanks man. Cheers from Budva!
....
Btw. Wanna ask you something. How hard can it be to do something like this, with thumbs opacity..
Something like this. LINK
With your permission to modify. I wanted to buy this, but not compati.. with J2.5.4

Re: Problem with seeing gallery

Posted: Wed Jun 27, 2012 11:31 am
by Vasiljevski
What may be the problem is that when you use Joomla editor maybe he added some HTML, like

Code: Select all

{AG}<b>galerija</b>{/AG}
But I cannot be sure. It is important it works :)

Well it is not too hard. You see that we have templates and popups. So in your case, you could use classic template and just add overlay for images using CSS on hover, for example.

So the easiest way would be to change template.css in "plugins\content\admirorgallery\AdmirorGallery\templates\classic\"

Code: Select all

.AG_classic .ag_imageThumb {
  display:block;
  position:relative;
  background:#FFF;
  border:1px solid #ccc;
  margin:0;
  padding:4px;
  opacity:0.4;
  filter:alpha(opacity=40); /* For IE8 and earlier */
}

.AG_classic .ag_imageThumb:hover {
  opacity:1;
  filter:alpha(opacity=100); /* For IE8 and earlier */
}
But, a little harder way would be to copy classic folder, change the name to classic-overlay and also make changes in the files where needed. And you would get a new template and maybe share it here :)

More info about opacity can be found here: http://www.w3schools.com/css/css_image_transparency.asp

Re: Problem with seeing gallery

Posted: Fri Jun 29, 2012 11:24 pm
by ReirGap
And opacity is done. Thanks for great plugin.. Probably the best this kind.. and i really mean it. well, im using it, right? Good luck!