can anyone tell me what is the problem exactly ?
Can someone help me?
Is it the relation with the src?
in which place ?
Was the model import the problem?
How to make multi auth?
Is this issue solved?
I have done it


Import the Roule model
function productView(id){
//alert(id)
$.ajax({
type: ‘GET’,
url: ‘/product/view/modal/’+id,
dataType:’json’,
success:function(data){
$(‘#pimage’).attr(‘src’,’/’+data.product.product_thambnail);
HTML:
<div class=”img” id=”pimage” style=”background-image: url()”></div>
Sorry friend no Jd available
function productView(id){
//alert(id)
$.ajax({
type: ‘GET’,
url: ‘/product/view/modal/’+id,
dataType:’json’,
success:function(data){
$(‘#pimage’).attr(‘src’,’/’+data.product.product_thambnail);
HTML:
<div class=”img” id=”pimage” style=”background-image: url()”></div>
id=”pimage”
You are missing the quotes.
You are missing the quotes.
Yea I checked it, but it still doesnt work. Is it the relation with the src? I changed it to url but still nothing
You are missing the quotes.
style=”background-image: url()”
I need to keep this style cause if I just use <img id=”pimage” src=” “> it loads the original resolution for the image and it doesnt look right.
You are using src with div attribute , I think that’s why it is not working. As you want to change the background image of the div,
$(‘#pimage’).css(‘background-image’,’url(data.product.product_thumbnail)’);
try this.
Name:- Laravel Developer
Mode:- Permanent & Work on site ( Ahmedabad)
Salary :- As per the company norms
Experience:- 2 to 8 yrs
Skill sets:- Strong knowledge of PHP web framework Laravel.
Understanding the fully synchronous behavior of PHP.
Understanding of MVC design patterns.
Basic understanding of front-end technologies, such as JavaScript, HTML5, and CSS3.
Knowledge of object oriented PHP programming.
Understanding accessibility and security compliance {{Depending on the specific project}}.
Strong knowledge of the common PHP or web server exploits and their solutions.
Understanding fundamental design principles behind a scalable application.
User authentication and authorization between multiple systems, servers, and environments.
Proficient understanding of code versioning tools, such as Git and all repository.
Interested Candidates send your cv at sourcing@lebenswerk dot co dot in
$(‘#pimage’).css(‘background-image’,’url(data.product.product_thumbnail)’);
try this.
As you want to change the background image of the div,
Exactly!
Im trying one sec
$(‘#pimage’).css(‘background-image’,’url(data.product.product_thumbnail)’);
try this.
<div class=”img” id=”pimage” style=”background-image: url()”></div>
Nope this is not it :/

Is it weird? I’m trying to sail..
Honestly dont know
$(‘#pimage’).css(‘background-image’,’url(data.product.product_thumbnail)’);
try this.
It’s not it dunno what I mess up 🙁
I want to maintain the ratio for the background.
i need some help. i want user can view doc file in browser with laravel
i try with
http://docs.google.com/gview?url=””
or
https://view.officeapps.live.com/op/view.aspx?src=””
buth does not work
some have any another suggestion
Dm me.
Ok
We need 1-2 full stack MEAN developers.
Experience: 2 – 4 Years
Duration: Minimum a year
Details: They should be good with angular and ngrx too. And of course Node and Mongo.
where
in which place ?
Here.
I solved the problem
yes
Name:- Laravel Developer
Mode:- Permanent & Work on site ( Ahmedabad)
Salary :- As per the company norms
Experience:- 2 to 8 yrs
Skill sets:- Strong knowledge of PHP web framework Laravel.
Understanding the fully synchronous behavior of PHP.
Understanding of MVC design patterns.
Basic understanding of front-end technologies, such as JavaScript, HTML5, and CSS3.
Knowledge of object oriented PHP programming.
Understanding accessibility and security compliance {{Depending on the specific project}}.
Strong knowledge of the common PHP or web server exploits and their solutions.
Understanding fundamental design principles behind a scalable application.
User authentication and authorization between multiple systems, servers, and environments.
Proficient understanding of code versioning tools, such as Git and all repository.
Interested Candidates send your cv at sourcing@lebenswerk dot co dot in
function productView(id){
//alert(id)
$.ajax({
type: ‘GET’,
url: ‘/product/view/modal/’+id,
dataType:’json’,
success:function(data){
$(‘#pimage’).attr(‘src’,’/’+data.product.product_thambnail);
HTML:
<div class=”img” id=”pimage” style=”background-image: url()”></div>
Is this issue solved?
available