OK, pull out the flame throwers and frag grenades. Got them ready? .....

Here's the scoop: I'm signed up with Godaddy, yes yes yes, they suck, get a new isp, and so on. Anyway I got a discounted coupon and does anyone know where to get a 2 year hosting and domain reg for only $25? With that sort of storage and bandwidth... Me either?

I've got Drupal functional and running now (AlaskaMorrows.com). It took some coniving and mangling the Drupal LOCK code bits, but it's there and working. Anyway, I've been playing with it all damned day trying to figure out how to put an image, maybe two, in a normal posting of either a story or page. I have Gallery2 with the gallery module working for albums, but can I post an image in a normal page?

I've had Inline, Image, Img_assist, and TinyMCE installed and functional. Seperately or all at the same time. I can't seem to get a combo or module that will work. I've tried the BBcode module with them as well. Nothing seems to get a picture there. I can ftp the image to the directory and just html code it there, but all I get is the ALT tag, no image.

Any ideas?

Comments

styro’s picture

On 4.6, the image and image_filter modules worked well for us.

Not sure what we'll use with 4.7 yet though....

--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ
Example Knowledge Base built using Drupal

quietas’s picture

Yeah, I'm using 4.6. I didn't want to bother trying to figure out Drupal on a RC version yet.

How exactly did you get Image and Image_filter working? What systax to post, what input formats to add, spoon feed me if possible. At this point I need a hand.

Culley aka Quietas
http://www.alaskamorrows.com

styro’s picture

but we just followed the docs, it was pretty straightforward.

From the README:

This module provides a filter for referencing image nodes from other
nodes. It will not work unless image.module is installed and
configured properly.

Syntax:

  [image:node_id align=alignment hspace=n vspace=n border=n
     size=label width=n height=n nolink=(0|1)
     class=name style=style-data]

In its simplest form, "[image:node_id]", each image code will be
replaced by a thumbnail-sized image linked to the full-size image
node.  The other parameters, which are optional, give the user greater
control over the presentation of the thumbnail image.

eg if you have an image node with a node id of 45, putting [image:45] in the body of a story will include the images thumbnail inline that links to the image node. If you wanted the full size version without being linked, you'd use something like [image:45 size=full nolink=1] assuming 'full' is the image module label for your full sized images.
--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ
Example Knowledge Base built using Drupal

Amarnath-1’s picture

It is a great surprise that you could run Drupal in Godaddy!
Could you please share how did you make it happen? I believe it will help many of us who try with Godaddy. I tried Drupal & Civicspace and finally used eZpublish.
Thanks in advance.

quietas’s picture

To get Drupal to work on Godaddy was a bit of a chore, it still isn't right from all I have read. I poked and prodded trying nearly everything I could find. The easiest way was to comment out a pair of lines in a function starting at line 151, in database.mysql.inc:

function db_next_id($name) {
  $name = db_prefix_tables($name);
  # edited out two lines to get rid of godaddy caused error
  #db_query('LOCK TABLES {sequences} WRITE');
  $id = db_result(db_query("SELECT id FROM {sequences} WHERE name = '%s'", $name)) + 1;
  db_query("REPLACE INTO {sequences} VALUES ('%s', %d)", $name, $id);
  #db_query('UNLOCK TABLES');

  return $id;
}

This code as I read it is not a good thing with lots of users, but it seems to work for the few users.

Culley aka Quietas
http://www.AlaskaMorrows.com

dvessel’s picture

All you need to do is add the <img> tag to the input format for the filtered html that's provided as default. Then you can do your <img src=".." /> as usual inside the post.

-joon
www.dvessel.com

ghoti’s picture

I can ftp the image to the directory and just html code it there, but all I get is the ALT tag, no image.

I saw this exact behaviour on 4.7 until I did a TRUNCATE TABLE 'cache'; after which all was well. Unfortunately, I don't know exactly what caused the problem, though I suspect I may have been running with img_assist enabled but the image module disabled. You might also want to look at your Apache error_log, just in case something's spitting out the answer.

I'm running very happily with img_assist.