G2embed: engine works, but no images are displayed !

Creating and modifying plugins.
hamba
Regular
Posts: 8
Joined: Sun Jul 02, 2006 7:58 pm

Post by hamba »

UPDATE!!!!

ITS WORKING!!!!!

The problem I had was that I had the wrong Gallery 2 HTTP Path (maybe if we can clarify this a bit more in the plugin admin that the Gallery 2 HTTP Path should point to the galleries url rather then "Absolute path to http path were the embedded file will reside." this sounds like it should be the url where gallery.html will be) and I think that little bug bogus found

nice work bogus
thanks a million

:lol: :lol:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Thanks a lot for this patch! So in the end it WAS the plugin's fault. I'm so sorry I didn't spot that uper/lowercasing problem :D

I patched this now also in the plugin file. :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
bogus
Regular
Posts: 12
Joined: Thu Jun 29, 2006 9:17 pm

Post by bogus »

nice :wink: !
hamba
Regular
Posts: 8
Joined: Sun Jul 02, 2006 7:58 pm

Post by hamba »

Hi

I don't know if this might be related but I use Captcha inside of gallery when users login and register. The thing is that the image is not showing so it is impossible to log into the gallery through s9y.

Any ideas where to start looking?

Here is the code that the browser puts out.

Code: Select all

<h3>
Type the word appearing in the picture.
</h3>
<div>
<img src="gallery.html?g2_view=captcha.CaptchaImage&g2_GALLERYSID=a74a29f0021fba0face1efbecda0fc93" width="100" height="100" alt=""/>
</div>
<input type="text" size="12"
name="g2_form[CaptchaValidationPlugin][word]" value=""/>
</div>
:?: :?:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Yeah, the link to the captcha file is wrong, it looks for gallery.html, but instead it should use the G2 file basedirectory to show the captcha from?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply