Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2006-12-29 22:40:19

nighthawk
Archived Plugin Author
From: Frankfurt, Germany
Registered: 2005-11-05
Posts: 87
Website

Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern

You all certainly got a point regarding the db issues – but as mentioned previously, files also have their disadvantages. In the end, it’s a philosophy question, or a matter of what each individual user likes better, which is absolutely okay. I think time works in our favour – disk/db space is gonna increase whilst getting cheaper. :) In addition, I don’t like the idea of people being able to move files around or rename them when other data (stored in a db) is connected to it, but that’s just my personal opinion.

On a side note, I didn’t see a provider so far which limits the size of the databases (I certainly don’t have this problem, and I don’t pay that much, either, so it’s no fancy premium thingie).

I’m afraid I won’t be able to maintain two versions of this plugin – db and filesystem handling is fundamentally different, and I would need to re-encapsulate all the image accessing/processing routines in order to keep the code manageable, which I don’t have the time for at the moment – sorry. I appreciate the idea and the suggestion, though.

The only problem is the regular backup of a large db. One solution could be to store the image data in a separate table (which is excluded from the backup), and write a routine which reads the images back into the image table after a crash, maintaining the correct data relations. I’ll look into that.

But first things first – the path problem still needs fixing…

Offline

#32 2006-12-29 22:53:24

nighthawk
Archived Plugin Author
From: Frankfurt, Germany
Registered: 2005-11-05
Posts: 87
Website

Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern

@lee, joel:
It seems like I made a mistake regarding the way how the path to wow_image.php is set – I’m using the globals array for this, which seems to be a problem on some servers.

Before I publish an updated version, can you please try this:
  • open wow_image.php in a text editor
  • Edit line 69: Replace fragment
<img src=\"" . $path . "/wow_image.php

with this fragment

<img src=\"wow_image.php

Basically, this means that you’re removing this part:

 " . $path . "/
  • Save and check if the pop-up opens correctly now.

Please let me know if this fixes the problem. I’ll then update the file in the distribution.

Thanks!

Last edited by nighthawk (2006-12-29 22:53:58)

Offline

#33 2006-12-30 00:52:42

nighthawk
Archived Plugin Author
From: Frankfurt, Germany
Registered: 2005-11-05
Posts: 87
Website

Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern

Already implemented for 0.5:
  • Fix for joel/lee (path bug)
  • Separate table for raw image data to exclude from backups, auto-migration for users of v0.4
More features to come with 0.5:
  • Renaming galleries
Features for 0.6:
  • Sorting of images (difficult, need to see how to tackle this)

Offline

#34 2006-12-30 10:59:07

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern

Can you turn the EXIF data ‘on’ and ‘off’? I personally don’t like seeing it.
You never see it, for example, when you see the work of famous photograhers ;-)

Offline

#35 2006-12-30 13:25:22

nighthawk
Archived Plugin Author
From: Frankfurt, Germany
Registered: 2005-11-05
Posts: 87
Website

Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern

@jameslomax
Sorry, I don’t understand what you mean. The EXIF data is only used for guesstimating a default orientation correction when you’re rotating images. Why should you want to turn it on/off? Besides, it doesn’t “show” anywhere else except on the admin screen, and even there you can simply disregard the information.

Offline

#36 2006-12-31 13:13:40

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern

I was referring to the EXIF information for photographs – the exposure and focal length of the picture, encoded in the file.

Offline

#37 2007-01-01 16:26:56

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern

Hey this is looking good on a test install!

Not entirely sure how to get it to work though. I entered the <txp:wow_gallery /> tag in my default template and got this error:

<code>tag_error <txp:wow_gallery/> -> Warning: Missing argument 8 for buildsingleimagestring() on line 1032
tag_error <txp:wow_gallery/> -> Textpattern Warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘’ at line 1
select * from txp_wowgallery where id = on line 84</code>

Also: the uploaded images aren’t appearing in the Admin window….

Last edited by jameslomax (2007-01-01 16:27:53)

Offline

#38 2007-01-01 23:19:40

nighthawk
Archived Plugin Author
From: Frankfurt, Germany
Registered: 2005-11-05
Posts: 87
Website

Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern

@jameslomax
Please make sure you have placed the two helper files in the main site directory – then it should work.
As for the tag: That’s not the correct usage; please check the plugin help. You need to at least specify a gallery to display. ;)

@all
I have finished developing an ordering feature based on manipulating the DOM-tree. Very nifty… but now the darn plugin’s too large for TXP! Argh. Waiting for support on this whilst trying to strip down the code – no further release until then, even though all recent requests have been implemented. :/ If anybody knows how to get around the plugin size barrier at about 100K, please let me know!

Happy new year everyone! :)

Last edited by nighthawk (2007-01-01 23:21:16)

Offline

#39 2007-01-02 19:47:14

jameslomax
Member
From: UK
Registered: 2005-05-09
Posts: 448
Website

Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern

Do I have to build a gallery template, include the < txp:wow_gallery /> within it, and then use all the tags in the help file according to what I want?

Ack…..

Offline

#40 2007-01-02 21:56:58

nighthawk
Archived Plugin Author
From: Frankfurt, Germany
Registered: 2005-11-05
Posts: 87
Website

Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern

No, you don’t have to build anything – you can use what’s already in the package. All you need to do is:
  • Place the additional files in your main site dir (wow_tpl.php, wow_image.php, image_viewer.css)
  • Install and activate the plugin (or pluginS with v0.6)
  • Go to the gallery admin screen
  • Create a gallery by uploading from the gallery directory (needs to be created manually within your main site dir), or by uploading single imgs manually
  • Create a new article or access an existing one
  • Add the tag to the article with the proper attributes (which gallery, which thumbnails, how many rows/cols, etc.).

With the latest version, there also are some examples which probably can get you started. But aside of this, the plugin really should work out of the box. I strongly recommend upgrading to v0.6 BTW – lots of cool new features. :)

Last edited by nighthawk (2007-01-02 21:58:19)

Offline

#41 2007-01-03 03:44:39

krasnyja
New Member
Registered: 2007-01-03
Posts: 3

Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern

First: I love this gallery plugin. Very easy to use even for a beginner like me. Btw…make sure to update your website because you only have a download link for v0.4. Anyway here is my question: I wanted to use the images in one of my wow_galleries as links to static pages on my site. I am building a website for an art exhibit and would like to link the various pictures to their respective artists’ bios on the website. Is there any way to do that? Thank you for your hard work!

Offline

#42 2007-01-03 08:57:54

nighthawk
Archived Plugin Author
From: Frankfurt, Germany
Registered: 2005-11-05
Posts: 87
Website

Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern

@krasnyja
Glad you like it. :) BTW, the download link on shadowplanet is up to date – please let me know if you’re still experiencing problems downloading 0.6.

About the links… no, at the moment, every gallery image just links to the “master” (full size) version of the image. However, you could try to add the link in the captions section. I haven’t tried to insert HTML code there yet, though – no idea if it works, but it’s worth a try. If that’s a feature other users also request, I think I’ll add it with one of the next versions.

Cheers!

Offline

#43 2007-01-03 09:08:18

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern

This is really good stuff. Would you consider adding next/prev links for non popup images?

Thanks
Lee

Offline

#44 2007-01-03 09:59:22

nighthawk
Archived Plugin Author
From: Frankfurt, Germany
Registered: 2005-11-05
Posts: 87
Website

Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern

If you want to achieve this effect, try to display a gallery with a 1×1 matrix, which will give you the pagination without the need to click the image. Or do you want something different? I’m certainly open to suggestions. :)

Thanks for your feedback!

Offline

#45 2007-01-03 10:08:57

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [plugin] [ORPHAN] wow_gallery - A complete gallery manager for Textpattern

1×1 didn’t give me pagination, it just displayed 1 thumb which when clicked displayed the full image. I was imagining a page full of thumbs where if 1 is clicked it’s full image is displayed with pagination to move through the rest of the full images.

Offline

Board footer

Powered by FluxBB