Welcome, Guest
Username: Password: Remember me

TOPIC: [CLOSED] FK IMages not coming through

MEDIUM - FK IMages not coming through 24 May 2015 15:25 #13172

  • MorganL
  • MorganL's Avatar
  • Offline
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
  • Karma: 15
I have a fly brick that pulls in info from a FK (front end, not tested back end). One of those pieces of information is an IMAGE FIELD.

I have uploaded an image in the table, but when I referencing it as an FK nothing comes through, it is as though the model is blank

Here is the generated front end code
<div class="control-group field-_pin_logo">
    	<div class="control-label">
			<label>Logo</label>
		</div>
		
        <div class="controls">
					</div>
    </div>

There is definitely an image uploaded and in the database
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla
The administrator has disabled public write access.

MEDIUM - FK IMages not coming through 25 May 2015 16:01 #13178

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
There is absolutly no problem in your component.

I tried it, and everything is fine.
In your Deal item, check that 'pin' FK is not null.

The generated component works well.

By the way, be carefull, your rename property is incorrect for Deal_image
you have set : {RAND) instead of {RAND}
(closing bracelet)

No error there.
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.082 seconds

Get Started