Image Scroller - based on iTunes [link to Intermediate] - Page 11 Image Scroller - based on iTunes [link to Intermediate] - Page 11
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Image Scroller - based on iTunes [link to Intermediate]

Started by rphMedia, December 05, 2007, 02:17:20 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Cath22

Hi RpH,

strange thing, my scroller doesnt work on Explorer anymore, for no reason as far I can see, It works great on Firefox. The only thing recently changed on the site is that i have a guestbook implemented but that software runs separately. Also I have tried to upgrade, but then nothing of my changes worked anymore (overwritten), so I put back an backup. I'll have to implemented the 1.4.20 version more carefully.
But why it doesnt work??

My site http://www.fotofantastic.nl

Thanks
Cath
qui custodiet ipsos custodes

rphMedia


Cath22

Quote from: rphMedia on February 14, 2009, 03:26:48 PM
I just tried it with IE and it works fine  ???

Weird, my friend and I tested both and didnt work, maybe its network related?
qui custodiet ipsos custodes

flapane

Hi
I downloaded the 600x300 version and put it for testing purposes at http://www.test.com/flow.htm
Anyway I have two requests, shown in this image:
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg19.imageshack.us%2Fimg19%2F9338%2F81469663xe3.jpg&hash=5ab1ea472e6f921a1dd4cf69338d45b6a479083b)

The portrait thumbs are bad sized, and I'd like to delete those upper and bottom black spaces, as I should embed the slideshow in a small space.
Thanks in advance!

p.s
what about releasing the source code?
Flapane
www.flapane.com

Gallery
www.gallery.flapane.com

Fabricio Ferrero

Please, attach images instead of hot linking. As explained in board rules.
Read Docs and Search the Forum before posting. - Soporte en espaƱol
--*--
Fabricio Ferrero's Website

Catching up! :)

flapane

Well, that's the attachment, then.
Flapane
www.flapane.com

Gallery
www.gallery.flapane.com

rphMedia

You really need to read the entire thread. I'm sure you'll find what you're looking for.

flapane

-Yesterday I already read the whole 11 pages, and couldn't find an attachment with portraits well oriented for the 600x300 swf.
-If you scale it, you won't delete those two black parts, they are only scaled.
Flapane
www.flapane.com

Gallery
www.gallery.flapane.com

flapane

Quote from: rphMedia on January 11, 2008, 09:05:39 PM
For all that wanted a smaller version, try the attached. It should maintain aspect ratio, but still scale the content within the stage.

This one is 600x300.

Here's a quoting of the file I am using, and that is the result.
Flapane
www.flapane.com

Gallery
www.gallery.flapane.com

rphMedia

I'll see what I can do about the scaling.

If you get rid of the "black parts", you'll lose some of the mirroring effect. Is that what you want?

Try changing this line:
'wmode', 'window',

to:'wmode', 'transparent',


Might be what you need.

flapane

Yeah that transparent trick wouldn't be bad, but I would phisically need to delete those two black or whatever color/transparent parts, as I have a thin space where to put that slideshow.
The upper one wouldn't change anything, and the bottom part should be cutted 'till the mirrored image border.
I don't know if you get well what I said.
Thanks anyway.
Flapane
www.flapane.com

Gallery
www.gallery.flapane.com

flapane

Quote from: flapane on February 17, 2009, 11:52:35 PM
The portrait thumbs are bad sized, and I'd like to delete those upper and bottom black spaces, as I should embed the slideshow in a small space.
Thanks in advance!

p.s
what about releasing the source code? it would be easier to us to fit our needs

hi, any news?
Flapane
www.flapane.com

Gallery
www.gallery.flapane.com

Joe Carver

This mod. is magic! Thanks, you put in a lot of time and patience into this and the results are fantastic. Your dozens of pages of support amaze me too. Great work. It was easy to set up on my two galleries
(The low cpu load in all of the browsers I've tested this with so far with is nice too)

Imustbethick

Hi, First of all I want to say this is probably the nicest modification I have ever seen anywhere on any gallery package, I have seen it on loads of sites (I went looking) and love it, unfortunately I am living up to my uiser name once again, I seem to be unable to get it working :'(

I had a similar problem with a plugin yesterday and ended up asking for help so once again I am here begging for assistance! :o

My gallery can be found at http://www.rebelslair.co.uk/pic_gallery.

In case it was a cache problem I have cleared all cache's and even tried with 3 different computers to see if it was an issue with my PC, but it looks like i have done something silly and unfortunately I cannot find what as it was the same on all of them.

I have uploaded all the files to my gallery root having edited the flow_link.php file as I THINK it should be.
<?php
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
$path=$CONFIG['http://www.rebelslair.co.uk/pic_gallery'];
$xml '<?xml version="1.0" encoding="iso-8859-1"?>
<content>';
if ($FORBIDDEN_SET != "") $FORBIDDEN_SET = "AND $FORBIDDEN_SET";
$result = mysql_query("SELECT * FROM {$CONFIG['TABLE_PICTURES']} AS p WHERE filename LIKE '%.jpg' AND aid = 44 ORDER BY RAND() LIMIT 25");
$row = mysql_fetch_array($result);
while ($row = mysql_fetch_array($result))
{
$type = max($row['pwidth'], $row['pheight']) > $CONFIG['picture_width'] ? 'thumb' : 'thumb';
$xml .= "<image><path><![CDATA[" . $path . get_pic_url($row, $type) . "]]></path><description><![CDATA[" . $row['title'] . "]]></description><data><![CDATA[" . $path . "displayimage.php?pos=-" . $row['pid'] . "]]></data></image>";
}
$xml .= '</content>';
echo $xml;
?>


I have also edited the anycontent.php file according to the instructions here I think
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Flow Link Example</title>
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
</head>
<body bgcolor="#000000" scroll="auto">
<table width="100%" height="100%" border="0"><tr align="center" valign="middle"><td>
<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js.");
} else {
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0',
'width', '800',
'height', '250',
'src', 'flow_link',
                   'FlashVars', 'xmlPath=http://www.rebelslair.co.uk/pic_gallery/flow_link.php', <!--Absolute path to 'flow.php'-->
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'transparent',
'devicefont', 'false',
'id', 'flow_link',
'bgcolor', '#000000',
'name', 'flow_link',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','always',
'movie', 'flow_link',
'salign', ''
); //end AC code
}
</script>
</td></tr></table>
</body>
</html>


If someone could have a look for me and tell me what I have done wrong I would be very grateful.

Thanks in advance

http:www.rebelslair.co.uk/pic_gallery

ps. In case it was not obvious, I am a newbie to this type of coding, and whilst I have read as much as I could about coppermine modifications on this site, I have ended up confusing myself.

Joe Carver

A few points, this mod. is in a no support thread, using terms like begging will probably get you more ignored than noticed and that the forum is not for detailed instructions on how to code php and html. I can say this with certainty because I have read the same words many times before here throughout the support form. I can also say this because I know virtually nothing about coding, editing and html  myself. It took me more than a few hours to get this working to my satisfaction.

You must be patient and read through the thread for guidance Read this thread also, I recommend that you try those examples and test files too.

The first thing that I saw when I went to your site was that AC_RunActiveContent.js was not immediately visible in the <head> of your home page, meaning that you did not put it into your template file. Therefore you are not off to a good start...... I can't instruct you on how to do that kind of editing, you'll have to read and learn the Coppermine docs.

My best instruction to you is to
1) get it to work with your site/file paths etc. using the flow_link_example.htm file. That one is practically ready to run with only the most minor of edits. You are in too deep if you can't get something out of that file.

2) Read about the different styles of images and the troubles people saw in both threads. Test to see what works for you and your needs. Use the flow_link_example.htm that is provided

3) Before you try to drop the html into your anycontent.php see if you are able to successfully manipulate anycontent.php at all. Read up if you cannot.

4) Once you are able to get it into anycontent.php keep in mind that this is an unsupported mod. You might see interference with your theme or other content in the page. Right now I am seeing this mod. not work for my site when a language other than english_us is selected, a flash error console confirms my observations and it is still being worked on.
You might see thumbs or images  not to your liking, but you will see a lot of support in the two threads about this mod. and many views to choose from.

Read about and use the Tools recommended by the devs 

Everything above is how I got this working on my two galleries.
Good Luck



Imustbethick

Hi Guys,
I just wanted to once again say thanks for a fantastic mod.

It has taken a lot of hours trying to understand and I have a lot less hair than I did at the start of this exercise but I finally got there.

Anyway whilst it may be a little daunting for complete newbies, I would just like to say stick at it, you can eventually get there (I did so anyone can)

Regards and best wishes to all concerned.

Joe Carver

@ rphMedia,

One quick question, non-technical, there is no rush to reply.

I have been working this mod. around to make a plug-in version.

The plugin would need to have your files, AC_RunActiveContent.js and flow_link.swf included.

Are there any issues with, or do you have any objections to, redistributing those files?

Thanks in advance - since I'm only 30-40% into this there won't be anything happening soon.

rphMedia

Not at all, as long as they're not sold in any way, there's no problems.

flapane

Flapane
www.flapane.com

Gallery
www.gallery.flapane.com

flapane

Unfortunately there still is the issue with the photos in portraits mode not well scaled (they are stretched).
Flapane
www.flapane.com

Gallery
www.gallery.flapane.com