Gallary Image Plug-in - Issues

Creating and modifying plugins.
Post Reply
vikram_khatri
Regular
Posts: 14
Joined: Fri Sep 16, 2005 9:23 am

Gallary Image Plug-in - Issues

Post by vikram_khatri »

I am trying to use Gallary Image event plug-in.

This is what I did:

1. When I import this plug-in, I get the warning.

Code: Select all

Warning: constant(): Couldn't find constant info in /web/s9plugins/serendipity_event_galleryimage/serendipity_event_galleryimage.php on line 93

Warning: constant(): Couldn't find constant info in /web/s9plugins/serendipity_event_galleryimage/serendipity_event_galleryimage.php on line 94
The warning is on the line in the plug-in.

Code: Select all

$propbag->add('name',        constant($name));
                $propbag->add('description', sprintf(APPLY_MARKUP_TO, constant($name)));

2. I specified this url in the second field. http://bluestar.zinox.com/gallery
3. Url of Gallery Album directory is http://album.zinox.com

Please note that you can see picture at http://album.zinox.com/Scenic/image/img_0989.jpg and I am using /Scenic/image/img_0989.jpg as a mark up in the event field for a new test entry.

I entered this in the new entry.

Title : Test with Gallary Image

In WYSIWYG editor.

Code: Select all

This is a test. 
[GImage]Scenic/images/img_0989.jpg[/GImage] 
I get mangled results. The image in not shown. When I hover on the image, I see that the .jpg is missing from the url it is pointing to.

This whole thing gets wrapped up in another entry. May be, when you see this yourself, you will understanding it immediately

Please see it on the http://bluestar.zinox.com

If you want to see the admin, use blog/blog789

Please also see my post for wrapping another url within an entry where sidebar disappears when I use iframe even within a table.

You will also see that in http://bluestar.zinox.com

I appreciate your help.
Operator

Post by Operator »

That's interesting..
I tried the same thing yesterday and got exactly the same error :(
I already contacted Rob (the creator of this plugin) but he couldn't find any source for the problem.
Hopefully someone has a solution. Would be great to use this plugin! :D

Regards,



Mark
Guest

Post by Guest »

Hey, wow :shock:
U made my day! :D THX :!:


Now I can experiment with it, jippee.


Mark
vikram_khatri
Regular
Posts: 14
Joined: Fri Sep 16, 2005 9:23 am

Post by vikram_khatri »

Rob -

Thanks - the warning and error went away after fixing that line but I am still unable to show the picture in the entry. This is a single picture.

Can you please see it http://bluestar.zinox.com and you will know it by looking at it.
vikram_khatri
Regular
Posts: 14
Joined: Fri Sep 16, 2005 9:23 am

Post by vikram_khatri »

Rob,

Thank you so much for the help. I allowed this site to be messy as making mistakes is a valid learning experience.

I still get right side bar disappearing - same thing that you had observed before.

I think, I will use picasa generated album with some tweaking in appearance using wrapurl as my daughter will be able to post their cross country race pictures in her own s9y blog.

I will continue to play with plug-ins to get some more insight. I do not know abcd of php so I have to buy a book and assimilate it.

Yes, I do have many virtual hosts on win2k3 using ASP.Net and now on my new Linux box using open source. I did not know how powerful apache is compared to lame and duck IIS. To host virtual sites, I had to buy win2k3 license one year back as IIS on XP will only host a single site.

But with, Apache I can get reverse proxy and virtual hosts. I made my linux box as a reverse proxy to get all of my win2k3 sites to the internet. Now win2k3 sits behind Linux box as I did not want to buy another license to get reverse proxy for Linux sites.

Thanks - Happy :D php*ing :D

Yet Another S9Y Blog - http://bluestar.zinox.com
Post Reply