Joomla 中的图像问题

发布于 2024-10-04 23:24:29 字数 1333 浏览 7 评论 0原文

我正在尝试在 Joomla CMS 上为朋友更新网站。一名开发人员正在设置它,然后就逃跑了,现在我正试图为他完成网站的更新。

我是 Joomla 的新手,没有任何开发经验(我使用 Wordpress)。目前我遇到的问题是,当我使用编辑器插入图像时,Joomla 将图像大小调整为缩略图格式,然后将其放置在网页的左上角(而不是放置在应该放置的帖子中)是)。

我尝试过使用图像的相对 url 和绝对 url 来直接链接到图像,但没有成功。

但我不明白的是,我有一个显示正常的 Paypal 图像,但 joomla 中托管的图像无法正确显示。

这是示例代码:

<table>
<tr>
<td><img src="http://worldofchaisson.com/images/chaisson.png" alt="Rise of Chaisson on DVD" /></td>
<td>

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="4EPQ2WR7UCD6L">
    <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
    </td>
    </tr>
    </table>

非常不言自明。 2 列表。第一列是正在销售的 DVD 的图像,第二列是 PayPal 购买代码/网址。在任何其他环境中它都会完美地工作。

这是网站,您可以看到我在说什么:http://www.worldofchaisson.com/

任何帮助都会很棒。请记住,虽然我不熟悉 Joomla 的开发环境,所以详细的解释会有所帮助。谢谢!

还有其他人遇到过这样的问题吗?

I'm trying to update a website for a friend on the Joomla CMS. A developer was setting it up and then bolted, now I'm trying to finish updating the site for him.

I am new to Joomla and don't have any developer experience with it (I use Wordpress). Currently the issue I am having is that when I insert an image using the editor, Joomla resizes the image into a thumbnail format, and then places it in the top left corner of the web page (rather than in the post where it is suppose to be).

I've tried using relative url for the image, and absolute url's to link directly to the image with no luck.

The thing I don't understand though is that I have a Paypal image that displays fine, but the image that's hosted in joomla won't show up correctly.

Here's the sample code:

<table>
<tr>
<td><img src="http://worldofchaisson.com/images/chaisson.png" alt="Rise of Chaisson on DVD" /></td>
<td>

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="4EPQ2WR7UCD6L">
    <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
    </td>
    </tr>
    </table>

Pretty self explanitory. 2 column table. 1st column has the image of the DVD that is being sold, and the second has the paypal purchase code/url. In any other environment it would work perfectly.

Here's the website so you can see what I'm talking about: http://www.worldofchaisson.com/

Any help would be great. Please keep in mind though that I am not familiar with the development environment in Joomla, so somewhat detailed explanations will be helpful. Thanks!

Has anyone else had an issue like this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

记忆之渊 2024-10-11 23:24:30

@Ian,

Joomla 本身不调整图像大小。因此,您的开发人员必须安装一个可以执行此操作的插件。您可能希望检查安装了哪些扩展。

或者查看您正在使用的编辑器,因为它可能具有调整图像大小的设置。默认情况下,Joomla 关闭编辑器。但 TinyMCE 可供用户使用,因此您也可以检查其设置。然而,Joomla 最强大的编辑器是:http://www.joomlacontenteditor.net/,它允许格式化控制的交易,尽管它确实要花钱。

干杯,
克里斯

@Ian,

Joomla does not natively resize images. So your developer must have installed a plugin that is doing this. You may wish to check to see which extensions are installed.

Or see what editor you are using as it may have a setting for resizing images. By default Joomla has the editor off. But TinyMCE is available to users so you can check the settings for that as well. The most powerful editor for Joomla however is: http://www.joomlacontenteditor.net/ which allows for a great deal of formatting control though it does cost money.

Cheers,
Chris

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文