MiniCMS pluging to display zomify image breadcrumb disappears MiniCMS pluging to display zomify image breadcrumb disappears
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

MiniCMS pluging to display zomify image breadcrumb disappears

Started by ruckusman, January 29, 2010, 04:00:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ruckusman

Hi There,

I've got the MiniCMS plugin installed and working and am using it to display a zoomify image

The album is here -

http://www.glennphoto.com.au/cpg/thumbnails.php?album=2

The direct link the zoomify image/page is here

Everything works fine, both the MiniCMS linked section and the zoomify page are in the same album

When I open the zoomify link the breadcrumb disappears.

It's likely the way I've got the page setup for the zoomify image but...

I'm stumped on this one, probably something simple but I can't see it.

Thanks

Glenn

ruckusman

I forgot to insert the direct link to the zoomify image

http://www.glennphoto.com.au/cpg/index.php?file=minicms/cms&id=1

I have also tried both disabling the Joomla bridge integration and the visual integration without any change.

ruckusman

OK so it is obvious (not immediately for me :o ) that MiniCMS is made to attach pages to either, categories, sections or images.
So displaying just the generated page isn't going to work very well with the coppermine gallery.

Enter the workaround...(nasty, messy, time consuming and a little bit unsightly, but workable hack)

I've got my galleries in the top level *No Category*, so I made a category called zoomify and an album in that category also called zoomify.

On the main page I don't display the categories as Ii don't have any, and I'm hoping I don't want to change this in the future.

I've made some 1px x 1px transparent PNG's to load as images in that category/album - zoomify > album - zoomify. One for each image that I want to zoomify for.

Then attach the MiniCMS page with the zoomify image to that image.

Because of the ordering of the elements on the page, the zoomify image appears at the top, with the transaprent PNG below.

I also added a javascript back link to help in naviagtion.

Like I said it's messy and at this point I wish I could integrate the whole thing via a plugin or mod, but I've never coded PHP, but now I've got some motivation


phill104

I really cannot see the need for using minicms when you are bridged with a full cms such as Joomla. Thanks for resolving your thread though.
It is a mistake to think you can solve any major problems just with potatoes.

ruckusman

I'm only using Joomla as a front page at the moment, and I just couldn't go past coppermine. Install, add a few plugins and mods and it's set.

Coppermine really is some fantastic software.

Anyway I've been doing some more reading and I'm wondering if either one of the youtube or flv mods might be made to work.

All I need to do really is call the ZoomifyFullScreenViewer.swf and pass it some parameters like this

<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" WIDTH="100%" HEIGHT="408" ID="theMovie">
                <PARAM NAME="FlashVars" VALUE="zoomifyImagePath=albums/zoomify/dusk&zoomifyNavigatorVisible=true">
                <PARAM NAME="BGCOLOR" VALUE="#666666">
                <PARAM NAME="allowFullScreen" value="true">
                <PARAM NAME="MENU" VALUE="FALSE">
<PARAM NAME="SRC" VALUE="albums/zoomify/dusk/ZoomifyFullScreenViewer.swf">
                <EMBED FlashVars="zoomifyImagePath=albums/zoomify/dusk&zoomifyNavigatorVisible=true" SRC="albums/ZoomifyFullScreenViewer.swf" BGCOLOR="#666666" MENU="false" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" allowFullScreen="true" WIDTH="100%" HEIGHT="408" NAME="theMovie"></EMBED>
              </OBJECT>


I did find another thread on a similar situation here, but he didn't post the solution

http://forum.coppermine-gallery.net/index.php/topic,43371.msg206166.html

Can anyone point me in the right direction with this?

Thanks

Glenn

phill104

I think if you just want a zoom function the you are better off trying to integrate one of the jQuery zoom tools rather than and swf one. Should be a lot easier.

Here is an example. - http://www.mind-projects.it/projects/jqzoom/demos.php#demo1

There are many more.
It is a mistake to think you can solve any major problems just with potatoes.

ruckusman

That's a nice feature, but doesn't go large enough for what I'm after

The zoomify plugin is free and works well - at least on my machines.

Coppermine already has support for swf files, but they are movie files, not players.
So unless I'm mistaken the actual movie has it's dimensions already assigned from within the actual swf file itself.

There's a great example here
http://coppermine-gallery.net/demo/cpg14x/displayimage.php?album=18&pos=6

Anyway, I need to call the swf player and pass it the file parameters from either a script using embed & object tags or alternatively an XML with the needed parameters.
Setting fixed parameters for dimensions will unfortunately not work when switching between portrait and landscape images and images of different proportions.

I'm going to take a closer look at enlargeit to see what it offers, though when I tested it the other day it overrode lightbox which I'm very pleased with.

I'd like to avoid re-inventing the wheel if I can avoid it.

I now know what I want to be able to do, just need to know where to start.

Plus if I can get this sorted I can then integrate the panoramas from here
http://www.glennphoto.com.au/panoramas.html

They just call the PTViewer.jar and pass it the file parameters from object & embed tags also.

Glenn