hi

first: thanks for this create module!!

i would like to ask if there is a way to change the span tag to a div tag when rendering the output:

should be

i found this two functions:

function imagefield_assist_render_image($attributes = array()) {

function theme_imagefield_assist_inline($node, $size, $attributes) {

which contain the span tag.

i tried to override/theme these ones but it dint work.

thanks a lot for your help.

Comments

akaserer’s picture

the whole text should be:

first: thanks for this create module!!

i would like to ask if there is a way to change the span tag to a div tag when rendering the output:

<span class="inline inline-left"

should be

<div class="inline inline-left"

i found this two functions:

function imagefield_assist_render_image($attributes = array()) {

function theme_imagefield_assist_inline($node, $size, $attributes) {

which contain the span tag.

i tried to override/theme these ones but it dint work.

thanks a lot for your help.

sgriffin’s picture

If you don't reuse the inline or inline-left declarations, you can override them in your style sheet to display:block.
This may also help you.
http://www.lullabot.com/articles/overriding-theme-functions-in-modules

avpaderno’s picture

Issue summary: View changes
Status: Active » Closed (outdated)
Issue tags: -div, -span class

I am closing this issue, since it is for a Drupal version that now is not supported.
Please re-open it if the issue is also relevant for other project branches that require a supported Drupal version.