Ideas for a new serendipity plugins!
Print icon
Can i suggest another plugin, which is the ability to print an article from the blog, with the current version of Serendipity on the bottom of an article you get all these information
This entry was posted by NAME on DATE at TIME. and is filed under CATEGORY . You can leave a response, or trackback from your own blog.
View as PDF: This entry | This month | Full blog
Is it possible to have a 'print page' link there? which takes the viewer to a printer friendly page where they can select to print the article.
thanx
This entry was posted by NAME on DATE at TIME. and is filed under CATEGORY . You can leave a response, or trackback from your own blog.
View as PDF: This entry | This month | Full blog
Is it possible to have a 'print page' link there? which takes the viewer to a printer friendly page where they can select to print the article.
thanx
I really appreciate you help!dma147 wrote:@Operator: I've worked the whole day now, to get this linking to work and finally I've got it!
It was not easy, because it has to use some API-function from gallery2 directly... but it works now.
Now you also can link gallery2-images to an album or a image-page and the fancy-style should also work now.
Here is a little testing page:
http://blog.linux-stats.org/gallery2.html
You'll find this new version in my downloads on http://blog.linux-stats.org
have fun.
As much as I wish to say "it works", I can't.
The link to the picture in the gallery is a really cool feature and also works really well, but now the plugin causes the website to show � instead of some letters (letters from the German alphabet, like ß, ö, ä, ü etc.).
Another thing is that the fancy thing still shows it in blurred full-size.
If you could come online in ICQ, I could show it to you on my own server. But I can't let the server running all time, so I would have to know when you are there.
You help is really appreciated, I hope you can fix the remaining problems.
Mark
Yet another double post, but really important:
I just found this error at the very bottom of the page:
Mark
I just found this error at the very bottom of the page:
Line 555 is the following:Warning: getimagesize(http://localhost/gallery/g2data/albums/ ... flower.jpg) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in C:\xampplite\htdocs\serendipity\plugins\serendipity_event_galleryimage\serendipity_event_galleryimage.php on line 555
This seems to cause the size problem when using "style=fancy", I think...$thissize = getimagesize($album_base.'/'.$album.'/'.$photo.".".$photo_ext);
Mark
Hmmm, just tried it out.
Seems to work basically, but I always get this warning message in preview and when publichsing a page.
Warning: getimagesize(): stream does not support seeking in /srv/www/htdocs/web1/html/blog2/plugins/serendipity_event_galleryimage/serendipity_event_galleryimage.php on line 555
Warning: getimagesize(): stream does not support seeking in /srv/www/htdocs/web1/html/blog2/plugins/serendipity_event_galleryimage/serendipity_event_galleryimage.php on line 555
Your entry has been saved
Maybe I just configured it wrong, but thumbnail is displayed correctly. Only other thing I notice is, that it inserts two // after my album URL like this:
http://my.album.url//main.php
Seems to work basically, but I always get this warning message in preview and when publichsing a page.
Warning: getimagesize(): stream does not support seeking in /srv/www/htdocs/web1/html/blog2/plugins/serendipity_event_galleryimage/serendipity_event_galleryimage.php on line 555
Warning: getimagesize(): stream does not support seeking in /srv/www/htdocs/web1/html/blog2/plugins/serendipity_event_galleryimage/serendipity_event_galleryimage.php on line 555
Your entry has been saved
Maybe I just configured it wrong, but thumbnail is displayed correctly. Only other thing I notice is, that it inserts two // after my album URL like this:
http://my.album.url//main.php
Okay guys...
I've made a little mistake in the configuration dialog of the galleryimage plugin.
If configured correctly the plugin should wor great, but you all will not have configured this:
"URL of the Gallery album directory (Only used for Gallery 1.x versions!)"
...because I've written this "only used for Gallery 1.x versions"
This is the mistake. This thing is also be used with Gallery 2.x, so I have to remove this text and you all have to configure this for gallery 2.x too.
Then all should work as aspected.
(hopefully)
I've made a little mistake in the configuration dialog of the galleryimage plugin.
If configured correctly the plugin should wor great, but you all will not have configured this:
"URL of the Gallery album directory (Only used for Gallery 1.x versions!)"
...because I've written this "only used for Gallery 1.x versions"
This is the mistake. This thing is also be used with Gallery 2.x, so I have to remove this text and you all have to configure this for gallery 2.x too.
Then all should work as aspected.
(hopefully)
Alexander Mieland, dma147
http://blog.linux-stats.org
http://blog.linux-stats.org
Sorry, I really don't know, what you mean with that?Anonymous wrote:One more thing:
I notice: The thumbnail is displayed correctly on the site, but not in the stream, as it tries to insert the thumbnail with the wrong URL ( with the /feed short-URL included instead of using the main blog URL... but as I already said: Maybe I configured something wrong?)
Alexander Mieland, dma147
http://blog.linux-stats.org
http://blog.linux-stats.org
I mean the URL for the picture in the feed is wrong.
The img tag on the front page looks like this:
<img src="plugin/g2wrapper?album=charas&image=akemi2&ext=jpg&size=thumb" alt="[PHOTO]"/>
Everything's fine here.
BUT the URL for the img-tag in the ATOM feed is also:
<img src="plugin/g2wrapper?album=charas&image=akemi2&ext=jpg&size=thumb" alt="[PHOTO]"/>
NOW the problem is: This URL is relative.
The base URL for the page is . Add the path for the plugin and you get:
The URL for the feed is:
and when you append the path for the plugin now you get:
There's the problem, plain and simple. The path the plugin uses to display the thumbnail is wrong. It should be absolute and not relative.
So it should not be:
It should be:
(notice the trailing slash)
However I also don't know yet why the plugin inserts two slashes in the link to the gallery. In the configuration screen I didn't enter a /, as I know this causes problems. (Well it works anyways, but it looks ugly)
The img tag on the front page looks like this:
<img src="plugin/g2wrapper?album=charas&image=akemi2&ext=jpg&size=thumb" alt="[PHOTO]"/>
Everything's fine here.
BUT the URL for the img-tag in the ATOM feed is also:
<img src="plugin/g2wrapper?album=charas&image=akemi2&ext=jpg&size=thumb" alt="[PHOTO]"/>
NOW the problem is: This URL is relative.
The base URL for the page is
Code: Select all
http://my.site.url
Code: Select all
http://my.site.url/plugin/g2wrapper?album=charas&image=akemi2&ext=jpg&size=thumb
Code: Select all
http://my.site.url/[b]feed[/b]
Code: Select all
http://my.site.url/[b]feeds[/b]/plugin/g2wrapper?album=charas&image=akemi2&ext=jpg&size=thumb
So it should not be:
Code: Select all
plugin/g2wrapper?album=charas&image=akemi2&ext=jpg&size=thumb
Code: Select all
/plugin/g2wrapper?album=charas&image=akemi2&ext=jpg&size=thumb
However I also don't know yet why the plugin inserts two slashes in the link to the gallery. In the configuration screen I didn't enter a /, as I know this causes problems. (Well it works anyways, but it looks ugly)
ahhh... now I understand... well... I've not tried to show these g2 images in a feed.
I've already tried to make this url absolut by adding $serendipity['serendipityBaseURL'] in the front of the path, but s9y seems to strip this completly out.
The http://your.blog.com/ doesn't appear in any img-src url...
Maybe garvin has a solution for this?
Anyway, I'll try to add the leading (not trailing as you said) Slash.
You can find the corrected version here:
http://blog.linux-stats.org/index.php?s ... thiscat=75
I've already tried to make this url absolut by adding $serendipity['serendipityBaseURL'] in the front of the path, but s9y seems to strip this completly out.
The http://your.blog.com/ doesn't appear in any img-src url...
Maybe garvin has a solution for this?
Anyway, I'll try to add the leading (not trailing as you said) Slash.
You can find the corrected version here:
http://blog.linux-stats.org/index.php?s ... thiscat=75
Alexander Mieland, dma147
http://blog.linux-stats.org
http://blog.linux-stats.org
I've already uploaded the corrected version, so no need to fix this by yourself...
Hmmm... how can I get this sidebar with the diferent feeds back?
I can't find something like this in the plugins...?
Without this, I can#t test this...
Hmmm... how can I get this sidebar with the diferent feeds back?
I can't find something like this in the plugins...?
Without this, I can#t test this...
Alexander Mieland, dma147
http://blog.linux-stats.org
http://blog.linux-stats.org
Hmm, deactivated the feeds? deinstalled the plugin? Good question...
However I believe you can sldo do this wihtout the sidebar:
You just need to enter this url:
http://your.blog.url/feeds/index.rss2
http://your.blog.url/feeds/atom03.xml
http://your.blog.url/feeds/atom10.xml
(and so on)
However I believe you can sldo do this wihtout the sidebar:
You just need to enter this url:
http://your.blog.url/feeds/index.rss2
http://your.blog.url/feeds/atom03.xml
http://your.blog.url/feeds/atom10.xml
(and so on)
unfortunatly when using http://blog.linux-stats.org/feeds/atom03.xml only the rss-2.0 is used...Anonymous wrote:Hmm, deactivated the feeds? deinstalled the plugin? Good question...
However I believe you can sldo do this wihtout the sidebar:
You just need to enter this url:
http://your.blog.url/feeds/index.rss2
http://your.blog.url/feeds/atom03.xml
http://your.blog.url/feeds/atom10.xml
(and so on)
Alexander Mieland, dma147
http://blog.linux-stats.org
http://blog.linux-stats.org
okay, this seems to work...
but I really can't see whats wrong with the "=" in this feed...?
My Konqueror (KDE-Browser) complains about this "="...:
but I really can't see whats wrong with the "=" in this feed...?
My Konqueror (KDE-Browser) complains about this "="...:
XML-Lesefehler
Lesefehler: error occurred while parsing reference in Zeile 65, Spalte 195
<div class="serendipity_imageComment_left" style="width: 120px"><div class="serendipity_imageComment_img"><a href="http://blog.linux-stats.org/gallery2//m ... e.ShowItem&g2_itemId=23"><img src="http://blog.linux-stats.org/plugin/g2wr ... size=thumb" border="0" hspace="5" width="120" height="90"/></a
Alexander Mieland, dma147
http://blog.linux-stats.org
http://blog.linux-stats.org