Page 1 of 1

bug in thumbnail screen

Posted: 24 Feb 2011, 19:30
by kameleo
Hello, I don t understand why the buttons (basically paypal button) I added appear in thumbnail listing of my gallery...
http://www.audience33.com/?content/A33Shop/Tee+Shirts/
thanks for your help !

Re: bug in thumbnail screen

Posted: 25 Feb 2011, 01:49
by mjau-mjau
Well I am not quite sure what you are trying to do. This is the output for this folder:
http://www.audience33.com/imagevue.php? ... ee+Shirts/

First of all, you are trying to add lots of html code that is NOT compatible with flash textfields:
Code
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="hosted_button_id" value="RMRJE3DBYQTRW"> <table> <tr><td><input type="hidden" name="on0" value="Taille">Taille</td></tr><tr><td><select name="os0">  <option value="L">L </option>  <option value="XL">XL </option>  <option value="XXL">XXL </option> </select> </td></tr> </table> <input type="image" src="https://www.paypal.com/fr_FR/FR/i/btn/btn_buynow_SM.gif" border="0" name="submit" alt="PayPal - la solution de paiement en ligne la plus simple et la plus sécurisée !"> 
Sorry, but this does not work in flash.

As for the html page, this code that you have added to your DESCRIPTIONS is simply trying to display in a tooltip, but it is breaking because of the html. Anyway, it is displaying paypal button because you have the paypal button in your description.

What are you trying to do?

Re: bug in thumbnail screen

Posted: 25 Feb 2011, 04:56
by kameleo
Hello and thanks a lot for your quik answer.
I wanted to put a little shop section on my website.
And I am just trying to add a paypal button in the description of the item, and as you mentioned I noticed that it won t work in the flash version but I realized that it was apparently working in the html version, so I decided to make it through the html version. BUT, the button also appears in the thumbnails page !
The code I added is generated by paypal and I m also wondering why they create such a complex code for just basically an image, a drop down menu and a link...
I read that you re working on shopping cart integration, but I just want to sell teeshirt, some little jewelry and littel scupltures, not only pictures, that is the reason why I wanted to integrate an image with the link to paypal in the description. I find that the puchase button solution you gave is nice but too subtle and not visible enough.
Also in this exemple with the little drop down provided by paypal users may choose their size (tee shirt case).

Thanks again , I hope you understood.

Gilles

Re: bug in thumbnail screen

Posted: 25 Feb 2011, 12:49
by mjau-mjau
Since this obviously is not working, then I don't see the reason to continue this technical issue which is outside the scope of Imagevue? The Imagevue flash textfields can not support the Paypal code you are trying to integrate, and if you were going to use this at all, you would have to disable the flash gallery and only use the html gallery. Is this what you are considering?

I understand that you think the Imagevue "buy" button is too subtle, but here are your options for now:

#1 Use the Imagevue "buy" button
#2 Instead of using the Imagevue "buy" button, you can simply create links in Imagevue descriptions that go to Paypal. Something like <a href="paypal-link-here" target="_blank">Buy Now!</a>. You can make the text stand out more and style it with CSS if required.
#3 Wait for the Imagevue e-commerce module through fotomoto, which will also support "self-fullfillment", which should allow you to handle tangible products isntead of digital images and prints.
kameleo wrote:The code I added is generated by paypal and I m also wondering why they create such a complex code for just basically an image, a drop down menu and a link...
If it is just a button, it doesn't need to be complex, but I think Paypal likes to add their button as a FORM, so that it can include values and fields. I think they have a plain image-button version also. However, if you have a LIST, it will need to be a complex form like you see.
kameleo wrote:I read that you re working on shopping cart integration, but I just want to sell teeshirt, some little jewelry and littel scupltures, not only pictures, that is the reason why I wanted to integrate an image with the link to paypal in the description.
As mentioned, I believe it will include a way to sell tangible products, also called "self-fulfillment".

PS! I'll check with Nick why the html comes out like that.

Re: bug in thumbnail screen

Posted: 26 Feb 2011, 05:41
by kameleo
Thanks again for your support.
Disable the flash gallery just for the shop section was not a problem for me. But I did not understood just why the the button and a part of the code I inserted in the description was also appearing in the page where the thumbnails are displayed.
Anyway I will find another solution and/or wait for your next upgrade.
Thanks !

Re: bug in thumbnail screen

Posted: 27 Feb 2011, 11:15
by mjau-mjau
This is because basic tet descriptions are made to display in the title attribute of the thumbnail. However, since you have added complex html, this corrupts the html page itself. This could be fixed by simply disabling the description in title attribute for the thumbnail if you want to pursue this solution.

Re: bug in thumbnail screen

Posted: 28 Feb 2011, 00:15
by Nick
This is happening because you have an old version which did not strip html from description. Just update to the latest one or you can hack yours if you want.

Open imagevue/templates/index.index.html, find <div id="thumbnails">

There should a line nearby <a href="..." title="<?php echo $image->title; ?> <?php echo $image->description; >". Not exactly but something like this. Just delete the second <?php ?> part with description.