English 中文(简体)
Drupal - Profile Cache and Views for inline background pornography?
原标题:Drupal - Image Cache and Views for inline background images?

I have a View which is a series of images. I need the output of the View to be a div for each result with the image set as a background image with an inline style.

如果将显示结果改写如下,则生成散射器,但没有任何线体。

<div class="image-div" style="background-image:url( [field_image_fid] ); width: 250px"></div>

请注意,这并不是说风格不正确,而是完全被 stripped。 我认为,从阅读一些职位来看,这是初步的安全措施,但我知道如何去做。 很明显,“意见现场”模块是围绕工作,但似乎也缩小了我的领域。

Thanks

最佳回答

您可以编辑该领域的实地模板,检查基本环境(D6)下的主题信息部分,以了解从《意见》模块目录中使用哪些模板。 提交给您的主题目录,作改动,然后在您看来对模板文档进行检索。

问题回答

暂无回答




相关问题
Drupal Multi-language: Simple strings not translated

I m adding additional languages to a Drupal site that I m building. Getting the translation of content working is fairly easy using the Internationalisation module. Yet, simple things such as date ...

Setting up a WYSIWYG editor for Drupal site users [closed]

Looking through the Drupal contrib modules, and after a few Google searches, it becomes evident that there are any number of choices and combos available to set up a WYSIWYG editor in Drupal. I m ...

Change size of user/password login box

I don t know how to change the size of the login username/password boxes on the drupal site that I m trying to build. I m stumbling through the theming, and don t know where to find the file that ...

How does Drupal provide an edit/review/publish model?

How does Drupal support a means to update and review a website before it is published? Does it only allow you to preview a page at a time before you publish it or is there a way to create a site ...

Term for rotating header

I m looking for terminology that describes this behavior: The header of a web-page contains a different image every time you visit it. Update: It is not an advertisement, but images related to the ...

Has anyone checked out Drupal 7? [closed]

Has anyone checked out a copy of Drupal 7 yet? What do people think? I m pretty excited about the PDO and all of the designers I work with a very excited about the new admin interface/structure. Do ...

热门标签