Since I already had a content type called image I don't think this worked. It just gave me an error message. Is there any way to modify the module settings so it creates a "photo" type instead.

Thanks.

Comments

Johnnyk’s picture

Conceirning image_fupload module, if you wan't to use it (like me), it isn't wise to name the content type image anyway.
Regarding http://drupal.org/node/399114 image_fupload is confused with cck image fields inside nodes with ne type name "image".

Also the image module itself uses this namespace. Gave me a hard time with a couple of gallery modules.
Maybe it could be nice to use another namespace for views_gallery.

Anywho: This is a really neat module! Does everything one had to do by hand before. And I never came up with the idea of using views_attach - used Panels.

Thank you for this nice module!

karens’s picture

Title: Image Content type already exists » Avoid conflicts if image type already exists
Category: support » task

There is a variable you can set to force it to use a different name if you already are using that one. That's a hacky solution and we need a better one, but it got things started. If you do variable_set('views_gallery_image_type', 'my_preferred_type_name') before you install this is, it will create the images as 'my_preferred_type_name' instead of 'image'. There is the same setting for the gallery content type name, variable_set('views_gallery_gallery_type', 'my_gallery_type_name').

fwalch’s picture

Why not just use "views_gallery_image" and "views_gallery_gallery" as the content type names?

TrinitySEM’s picture

Anyone using Acquia D will have Image and Image Assist. Also, anyone wanting an inline solution may have Image as well. Changing the content type names would be a good solution.

glen201’s picture

Agreed, this module has to change its type, it's only right since Image came before this module and others depend on it! For now... but there is apparently going to be a new Image module (and I guess type too?) in D7 core -- there's a whole discussion on Image here http://drupal.org/node/513096

@Karens: your solution seems okay, we can patch that into the Mysql dbms to set the variable -- sloppy true. But, what if you already installed the module?

--glen

Golem07’s picture

Short question form an inexperiened user:
How and where exactly would I do this variable_set?

Thanx a lot :)

karens’s picture

Status: Active » Fixed

I changed the default value for images to 'gallery_image' and added a setting on the configuration page where you can set it to whatever you want to use. There is an update that gets things all straightened around for existing sites so they don't break.

Golem07’s picture

Great news - thx a lot.
Please excuse my lack of knowledge about this: But how/where can I download the latest DEV snapshot or HEAD? I have looked everywhere but could not find anything except the initial 1.0 release from July...

asb’s picture

There's no other release available, Karen has just checked this into CVS.

Greetings, -asb

karens’s picture

Just getting ready to roll a new release with all the latest changes.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.