collapse

* User Info

 
 
Welcome, Guest. Please login or register.

* Recent Posts

Can't get RSG "Show My Galleries" to work by Dampfnudel
[February 25, 2019, 11:01:55 AM]


Change the order of uploaded images in the gallery by whazzup
[February 19, 2019, 10:37:29 PM]


Upload timeout for large galleries (500 images each) by whazzup
[February 11, 2019, 10:07:25 PM]


Greetings from Ronald Smit by whazzup
[January 06, 2019, 03:39:22 PM]


Pluign and module by whazzup
[June 08, 2018, 11:57:13 PM]


Version 4.4.1 released by whazzup
[May 31, 2018, 04:31:16 PM]


search.html.php refer to rsgsearch.css with a wrong path by whazzup
[January 13, 2018, 08:12:04 PM]


Slow Gallery with many Photos by whazzup
[September 22, 2017, 09:22:33 AM]

Author Topic: plg_rsg2_singledisplay for J15 with Highslide and formating paramater  (Read 2561 times)

Offline Radek Kafka

  • Newbie
  • *
  • Posts: 18
Hi All,

posting here my modification of SingleDisplay plugin with HighSlide effect and formating (align) options.

Example: {rsg2_singledisplay:9999,thumb,true,left;float:left}

It has been converted to be J15 native plugin ..

You can see it on http://www.pgkrupka.com - used in articles etc..

Radek


Offline mirjam

  • Retired from Dev Team
  • Hero Member
  • ****
  • Posts: 670
Re: plg_rsg2_singledisplay for J15 with Highslide and formating paramater
« Reply #1 on: November 19, 2010, 02:13:47 PM »
Hi Radek, nicely done! I like how you use this on you website.

How to use explained in a bit more detail: {rsg2_singledisplay: imageid, size, caption, align}
Example: {rsg2_singledisplay:9999,thumb,true,left;float:left}
Explanation of example:
Image id (9999): id is found in the Backend under items: column ID.
Size (thumb): thumb, display or original: which image(size) to display.
Caption (true): true or false: wether or not to output the description of the image.
Align (left;float:left): if this is given it is used for the style attribute of the div in which the image is enclosed, e.g. 'left;float:left' results in style="text-align: left;float:left;" and 'right' result in style="text-align: right;".

I'll PM you about putting your work in the RSGallery2 SVN.

Highslide
The highslide part doesn't work for me, but I guess you need an extra highslide-download for this?
---Edit 2011 May 14 ---
You can find the needed Highslide JS plugin on http://joomlanook.com/ or
http://extensions.joomla.org/extensions/core-enhancements/scripts/5017
--- end of edit ---

Note that on their website (http://highslide.com/#licence) they do say
"Highslide JS is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. This means you need the author's permission to use Highslide JS on commercial websites."
This meant in the past (about two years ago) that RSGallery2 could not include Highslide in its package.
« Last Edit: May 14, 2011, 01:31:12 PM by mirjam »
With a little boy in the house I don't spend as much time on RSG2 anymore.

I still like RSG2, if you do too, please think about how you can invest some of your time in RSG2... the one remaining coding volunteer (Whazzup) can use your help!

Offline Radek Kafka

  • Newbie
  • *
  • Posts: 18
Re: plg_rsg2_singledisplay for J15 with Highslide and formating paramater
« Reply #2 on: November 19, 2010, 02:22:25 PM »
Yes there is specific license for Highslide. My website is not commercial and I'm using Highslide JS plugin ..
There can be also used Lightbox but I did not tried it yet..  HS part is only one line of code.

Radek