1
voddie
News module/image manager problem
  • 2005/7/19 15:22

  • voddie

  • Just popping in

  • Posts: 71

  • Since: 2003/10/20


Hi

I have only recently started utilising the image manager.

Everything seems to work ok for uploading to directory and to choose from directory. It works fine for blocks created but seem to have a problem with the news module.

The problem is the image doesn't show on the page.

If i go to code view it is displayed as:

<img hspace='5' src="http://mysite.com/cms/uploads/img hspace='5'42d9258838e58.jpg" align="left" alt="" />


Somehow i have hspace='5' between the name of the image.

I have been searching through the news modules and came across this in news_item.html:

<div class="item">
  <
div class="itemHead"><span class="itemTitle"><{$story.title}>span>div>
  <
div class="itemInfo"div>
  <
div class="itemBody">
    <{
$story.imglink}>
    <
class="itemText">
      <{
$story.text|replace:"n":''|replace:"img":"img hspace='5'"}>
    p>
  div>
  <
div class="itemFoot"div>
div>



Somehow my uploaded images are given a prefix of "img" and the code above changes this to "img hspace='5'".

Therefore the image doesnot show. I thought the prefix was my username_ ?Where can I alter what prefix is given to my uploads?

Voddie
To ask the hard question is simple

2
davidl2
Re: News module/image manager problem
  • 2005/7/19 15:25

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


also asked in this post

Login

Who's Online

415 user(s) are online (78 user(s) are browsing Support Forums)


Members: 0


Guests: 415


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits