I want to auto add ALT for images that getted to my server with:title-raw+arinal ALT
How can i make this?
Thanks!

Comments

rokape’s picture

bumpppppppp

eastcn’s picture


Index: get_image.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/get_image/get_image.module,v
retrieving revision 1.4
diff -u -r1.4 get_image.module
--- get_image.module   6 Jan 2010 01:45:43 -0000   1.4
+++ get_image.module   12 Jan 2010 11:52:07 -0000
@@ -52,7 +52,7 @@
                $file = $GLOBALS['base_path'] . $file;
             }
             
-            $files[$mat[2]] = $mat[1] . $file.'"';
+            $files[$mat[2]] = $mat[1] . $file.'" alt="alt" title="title"';
          }else{
             drupal_set_message(t('Save "@name" failed', array('@name' => $mat[2])), 'error');
             $files[$mat[2]] = $mat[0];

Success, CVS operation completed
rokape’s picture

How auto set title of images with:"my article title+orinal images title"?
Thanks!