Initial testing requested of a new module.
Item Iframes will add a new photo option to change the resize image to an iframe.
Since I was not able to get the embed_videos to work, I created this module to add iframe content from YouTube.com, vimeo.com, or any other iframe content to the resized view.
How it works:
1. Add a photo.
2. Photo options->Iframe content; add your iframe info like:
<iframe width="560" height="315" src="http://www.youtube.com/embed/_bC2DnG4yqA" frameborder="0" allowfullscreen></iframe>
3. Commit changes.
4. View the resized image and you should see the iframe content where the image would be. Re-edit if required.
If your iframe is from youtube, extra parameters are added: 'rel=0' for not showing related content and 'wmode=transparent' so that dropdown menus function over the iframe.
Feedback requested.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
Created codex page:
http://codex.gallery2.org/Gallery3:Modules:item_iframes
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
Hey Dave,
great Modul, this is exactly what I need for my panorama gallery.
Is it possible to set the iframe at the position of the photo?
http://foto.stilfabrik.de/index.php/Planungen/hekueche2-1940392370
Piet
Posts: 27300
It does for me.
Can you create a test album for me and send (PM) login info so I can add a item and see.
Looks like you have some JS errors on the page. Disable the FB module and see if that helps.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
Also see if the Piwik code affects it as well.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
I checked all modules, I can´t find a problem
even when I switch all modules off, it is the same ?:-/
Piet
Posts: 27300
I must have had the wrong file on the codex page. Try again overwriting the existing files.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 4
Thank you very much for the support.
now it works.
Piet
Posts: 14
Hi All,
Does Item_Iframes works on Gallery3?
I installed it on a Gallery3 box but didn't show up at the Settings tab anything to setup it.
Any help will be great.
Thanx in advance,
Flávio
Posts: 27300
Yes it does. See the first post out he docs for more info.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 27300
Updated to version 2.
Added a preview window for the content and changed some JS to fix some IE browser issues.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 94
I have been wondering how to achieve this for some time, it sounds great but I'm hitting a problem.
I paste in the code and can see a preview OK but when I hit Submit I get this Dang error.
Platform information
Host name: mars.speedyservers.com
Operating system: Linux 2.6.32-458.23.2.lve1.2.45.el6.x86_64
Apache: Unknown
PHP: 5.3.27
MySQL: 5.5.32-cll
Server load: 0.56 0.81 0.65
Graphics toolkit: gd
Gallery stats
Version: 3.0.8 (Seine)
Albums: 198
Photos: 6389
Kohana_404_Exception [ Page Not Found ]:
The page you requested, 403.shtml, could not be found.
SYSPATH/libraries/Kohana_404_Exception.php[ 42 ]
37 * @throws Kohana_404_Exception
38 * @return void
39 */
40 public static function trigger($page = NULL)
41 {
42 throw new Kohana_404_Exception($page);
43 }
44
45 /**
46 * Sends 404 headers, to emulate server behavior.
47 *
{PHP internal call} » Kohana_404_Exception_Core::trigger( arguments )
SYSPATH/core/Event.php[ 208 ] » call_user_func_array( arguments )
SYSPATH/libraries/Router.php[ 165 ] » Event_Core::run( arguments )
{PHP internal call} » Router_Core::setup( arguments )
SYSPATH/core/Event.php[ 208 ] » call_user_func_array( arguments )
APPPATH/Bootstrap.php[ 61 ] » Event_Core::run( arguments )
DOCROOT/index.php[ 116 ] » require( arguments )
Environment
If you say it's because I have a customised system I'll go away but is there anything obvious to you from from the error message?
Thanks,
John
Posts: 27300
What are you posting for the iframe code?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 94
I used the iframe from the your first posting, also tried one from Google Maps.
John
Posts: 27300
I guess you will have to elaborate on the system and the customizations.
403 errors are permission related
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 94
Thanks Dave, I've checked the file permissions in G3 and on disk files, all looks OK.
My customisation is mainly based on the look and feel of the site, I've attached a doc with my configuration and customisation details.
I have also raised another topic http://galleryproject.org/node/112412 in an attempt to identify any related issues with a test system.
John