Integration of Widgetkit in image field

More
11 years 5 months ago #37554 by Rooney
The good thing is that it is responsible. This works very good. We have a iPhone/Android version of the page without all the Joomla 3.0 css framework burden and the images are handled by Widgetkit.

Just two examples:
Popup is automatically created using the code above, nothing else necessary: www.muenstermann.com/en/overview ... acity.html

Gallery: www.muenstermann.com/en/industry ... ustry.html

Bad thing is that lots of JavaScript is loaded.

Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #37557 by micker
yes my code is same ...
just use title and description in other place :)

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #37772 by ggppdk
Hello,
committed it in r1688:

flexicontent.googlecode.com/svn- ... /image.php
flexicontent.googlecode.com/svn- ... /image.xml

can you grab files and test them in v2.0.2 or later ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #37807 by Rooney
Hi,
I'll do it first thing in the morning!
Thanks!
Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #37811 by micker
i test it perfect !

b]edited by ggppdk[/b
micker reported that r1687 had duplicate thumbnails,
i updated above link to be r1688

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #37813 by Rooney

micker wrote: i test it perfect !

b]edited by ggppdk[/b
micker reported that r1687 had duplicate thumbnails,
i updated above link to be r1688


The above link is broken, but I downloaded the files manually. :-)

I had a look at the code you inserted into the image.php:
Code:
} else if ($usepopup && $popuptype == 6) { // (Widgetkit) SPOTlight image popup $group_str = $group_name ? 'data-spotlight-group="'.$group_name.'"' : ''; $field->{$prop}[] = ' <a href="'.$srcl.'" data-lightbox="on" data-spotlight="effect:bottom" '.$group_str.' title="'.$title.' | '.($desc ? $desc : $title).'"> '.$img_nolegend.' <div class="overlay"> '.'<b>'.$title.'</b>: '.$desc.' </div> '; }
Here
Code:
<div class="overlay"> '.'<b>'.$title.'</b>: '.$desc.' </div>
is only needed if you want to have a fading overlay. I guess if all features are needed it should be in. It is easy to delete if not needed.

The other thing is that I use captions. The captions are taken from the image title. If no image title is set there is no caption. The popup caption is built using the alt information of the field. I know that is very special and I can also change this.

But at the moment the popup shows two times the same information as caption and I think that is a bug. Example:

Münstermann employees and families at the Families’ Day 2012 | Münstermann employees and families at the Families’ Day 2012

Code:
title="'.$title.' | '.($desc ? $desc : $title).'"
I have not put any description into the image field. The title is just added two times!

Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.364 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline