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.
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
Comment #1
Johnnyk commentedConceirning 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!
Comment #2
karens commentedThere 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').
Comment #3
fwalch commentedWhy not just use "views_gallery_image" and "views_gallery_gallery" as the content type names?
Comment #4
TrinitySEM commentedAnyone 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.
Comment #5
glen201 commentedAgreed, 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
Comment #6
Golem07 commentedShort question form an inexperiened user:
How and where exactly would I do this variable_set?
Thanx a lot :)
Comment #7
karens commentedI 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.
Comment #8
Golem07 commentedGreat 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...
Comment #9
asb commentedThere's no other release available, Karen has just checked this into CVS.
Greetings, -asb
Comment #10
karens commentedJust getting ready to roll a new release with all the latest changes.