Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

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

  • MorganL
  • MorganL's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
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

Please Log in or Create an account to join the conversation.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
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

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.052 seconds

The j-cook project is one of the best of its kind and it is nice that we all try to contribute in little ways to make life easy for each other.

vlemos (Forum)  

Get Started