Closed (outdated)
Project:
ImageField Assist
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2010 at 08:00 UTC
Updated:
14 May 2023 at 09:23 UTC
Jump to comment: Most recent
Comments
Comment #1
akaserer commentedthe 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.
Comment #2
sgriffin commentedIf 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
Comment #3
avpadernoI 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.